Skip to content

Commit

Permalink
Revert move of index_dev.rst to development/index.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
taldcroft committed Jul 2, 2024
1 parent d2b5630 commit 74e8c78
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def rstjinja(app, docname, source):
# Make sure we're outputting HTML
if app.builder.format != "html":
return
files_to_render = ["development/index", "install"]
files_to_render = ["index_dev", "install"]
if docname in files_to_render:
logger.info("Jinja rendering %s", docname)
rendered = app.builder.templates.render_string(
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ processing, and data analysis.

index_getting_started
index_user_docs
development/index
index_dev
index_project_details

.. grid:: 2
Expand Down Expand Up @@ -93,7 +93,7 @@ processing, and data analysis.

+++

.. button-ref:: development/index
.. button-ref:: index_dev
:expand:
:color: primary
:click-parent:
Expand Down
24 changes: 12 additions & 12 deletions docs/development/index.rst → docs/index_dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ process will apply to contributing updates to coordinated and many affiliated pa
.. toctree::
:maxdepth: 2

quickstart
development/quickstart

Now that you have created your development environment and gotten familiar with the
process, you should now read through the detailed tutorial below to see a real-life
Expand All @@ -45,7 +45,7 @@ advice for making a code change.
.. toctree::
:maxdepth: 1

git_edit_workflow_examples
development/git_edit_workflow_examples

Congratulations, now you are ready to be an Astropy contributor! If you are not sure where to contribute, take a look at the `Good First Issues
<https://github.com/astropy/astropy/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22>`_
Expand All @@ -58,22 +58,22 @@ Details
.. toctree::
:maxdepth: 1

development_details
codeguide
testguide
docguide
style-guide
git_resources
scripts
ccython
maintainers/index
development/development_details
development/codeguide
development/testguide
development/docguide
development/style-guide
development/git_resources
development/scripts
development/ccython
development/maintainers/index

.. Note:: Parts of this guide were adapted from the
`pandas developer documentation <https://pandas.pydata.org/pandas-docs/stable/development/index.html>`_. Astropy is grateful to the pandas team for their documentation efforts.

{%else%}

To read the developer documentation, you will need to go to the
`latest developer version of the documentation <https://docs.astropy.org/en/latest/development/index.html>`_.
`latest developer version of the documentation <https://docs.astropy.org/en/latest/dev_index.html>`_.

{%endif%}

0 comments on commit 74e8c78

Please sign in to comment.