Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add redirects for Linen guide links in the NNX site scope. #4242

Merged
merged 1 commit into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs_nnx/developer_notes/lift.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/developer_notes/lift.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/developer_notes/lift.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/developer_notes/lift.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/developer_notes/module_lifecycle.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/developer_notes/module_lifecycle.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/developer_notes/module_lifecycle.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/developer_notes/module_lifecycle.html'>link to the page.</a>.
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/convert_pytorch_to_flax.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/convert_pytorch_to_flax.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/convert_pytorch_to_flax.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/converting_and_upgrading/haiku_migration_guide.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/haiku_migration_guide.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/haiku_migration_guide.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/haiku_migration_guide.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/converting_and_upgrading/linen_upgrade_guide.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/linen_upgrade_guide.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/linen_upgrade_guide.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/linen_upgrade_guide.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/converting_and_upgrading/optax_update_guide.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/optax_update_guide.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/optax_update_guide.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/optax_update_guide.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/converting_and_upgrading/orbax_upgrade_guide.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/orbax_upgrade_guide.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/orbax_upgrade_guide.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/orbax_upgrade_guide.html'>link to the page.</a>.
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/regular_dict_upgrade_guide.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/regular_dict_upgrade_guide.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/regular_dict_upgrade_guide.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/converting_and_upgrading/rnncell_upgrade_guide.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/rnncell_upgrade_guide.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/rnncell_upgrade_guide.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/converting_and_upgrading/rnncell_upgrade_guide.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/data_preprocessing/full_eval.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/data_preprocessing/full_eval.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/data_preprocessing/full_eval.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/data_preprocessing/full_eval.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/data_preprocessing/loading_datasets.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/data_preprocessing/loading_datasets.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/data_preprocessing/loading_datasets.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/data_preprocessing/loading_datasets.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/flax_fundamentals/arguments.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/arguments.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/arguments.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/arguments.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/flax_fundamentals/flax_basics.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/flax_basics.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/flax_basics.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/flax_basics.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/flax_fundamentals/rng_guide.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/rng_guide.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/rng_guide.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/rng_guide.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/flax_fundamentals/setup_or_nncompact.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/setup_or_nncompact.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/setup_or_nncompact.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/setup_or_nncompact.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/flax_fundamentals/state_params.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/state_params.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/state_params.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/flax_fundamentals/state_params.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/flax_sharp_bits.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/flax_sharp_bits.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/flax_sharp_bits.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/flax_sharp_bits.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/model_inspection/extracting_intermediates.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/model_inspection/extracting_intermediates.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/model_inspection/extracting_intermediates.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/model_inspection/extracting_intermediates.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/model_inspection/model_surgery.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/model_inspection/model_surgery.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/model_inspection/model_surgery.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/model_inspection/model_surgery.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/parallel_training/ensembling.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/parallel_training/ensembling.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/parallel_training/ensembling.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/parallel_training/ensembling.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/parallel_training/flax_on_pjit.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/parallel_training/flax_on_pjit.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/parallel_training/flax_on_pjit.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/parallel_training/flax_on_pjit.html'>link to the page.</a>.
</body>
</html>
17 changes: 17 additions & 0 deletions docs_nnx/guides/quantization/fp8_basics.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. raw:: html

<!-- This is a dummy page for re-directing existing Linen guides' old links to the Linen site. -->
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://flax-linen.readthedocs.io/en/latest/guides/quantization/fp8_basics.html">
<script type="text/javascript">
window.location.href = "https://flax-linen.readthedocs.io/en/latest/guides/quantization/fp8_basics.html"
</script>
<title>Page Redirection</title>
</head>
<body>
The old Flax Linen API and guides has been moved to another domain. Follow this <a href='https://flax-linen.readthedocs.io/en/latest/guides/quantization/fp8_basics.html'>link to the page.</a>.
</body>
</html>
Loading
Loading