diff --git a/docs/_sources/conf.py b/docs/_sources/conf.py index 3e54813f7..38a87cd10 100644 --- a/docs/_sources/conf.py +++ b/docs/_sources/conf.py @@ -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( @@ -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 = [ diff --git a/docs/_sources/user/index.rst b/docs/_sources/user/index.rst index 07f78ce39..35927848b 100644 --- a/docs/_sources/user/index.rst +++ b/docs/_sources/user/index.rst @@ -42,12 +42,6 @@ For more information and additional tutorials, check out our `YouTube channel `_ * `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