Skip to content

Commit

Permalink
🎨 Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
shnizzedy committed Jun 28, 2022
1 parent 02af616 commit c8a9622
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 deletions.
21 changes: 8 additions & 13 deletions docs/_sources/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,7 @@ def _unireplace(release_note, unireplace):
) if gh_releaseNotes[t]['published_at'] else ''
)
release_note = '\n'.join(_unireplace(
"""{}
{}
{}
""".format(
"{}\n{}\n{}".format(
tag_header,
'^'*len(tag_header),
m2r.convert(gh_releaseNotes[t]['body'].encode(
Expand Down Expand Up @@ -334,17 +331,15 @@ def _unireplace(release_note, unireplace):
):
with open(latest_path, 'w+') as f:
f.write(
"""
.. include:: /user/release_notes/{latest}.rst
""".. include:: /user/release_notes/{latest}.rst
.. toctree::
:hidden:
:titlesonly:
:maxdepth: 1
.. toctree::
:hidden:
:titlesonly:
:maxdepth: 1
/user/release_notes/{latest}.rst
""".format(latest=str(t))
/user/release_notes/{latest}.rst
""".format(latest=str(t))
)

rnd = [
Expand Down
6 changes: 0 additions & 6 deletions docs/_sources/user/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ For more information and additional tutorials, check out our `YouTube channel <h
* `Open science resources for 'Big Data' Analyses of the human connectome <http://www.slideshare.net/CameronCraddock/open-science-resources-for-big-data-analyses-of-the-human-connectome>`_
* `Computational approaches for mapping the human connectome <http://www.slideshare.net/CameronCraddock/computational-approaches-for-mapping-the-human-connectome>`_

.. _ndmg_atlases:

.. topic:: Neuroparc v1.0: Baseline

.. include:: /user/ndmg_atlases.rst

.. include:: /user/release_notes/latest.rst

The C-PAC Team
Expand Down

0 comments on commit c8a9622

Please sign in to comment.