From: Vladimír Vondruš Date: Wed, 3 Apr 2019 09:16:45 +0000 (+0200) Subject: doc: moved sample Doxygen tagfile. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=96a9f05b753c34d276d5712411c65562e063e91d;p=blog.git doc: moved sample Doxygen tagfile. --- diff --git a/doc/doxygen/corrade.tag b/doc/documentation/corrade.tag similarity index 100% rename from doc/doxygen/corrade.tag rename to doc/documentation/corrade.tag diff --git a/documentation/test_doxygen/contents_tagfile/Doxyfile b/documentation/test_doxygen/contents_tagfile/Doxyfile index 0b52ac8b..df26e6ca 100644 --- a/documentation/test_doxygen/contents_tagfile/Doxyfile +++ b/documentation/test_doxygen/contents_tagfile/Doxyfile @@ -1,5 +1,5 @@ INPUT = input.dox -TAGFILES = ../../../doc/doxygen/corrade.tag=https://doc.magnum.graphics/corrade/ +TAGFILES = ../../../doc/documentation/corrade.tag=https://doc.magnum.graphics/corrade/ QUIET = YES GENERATE_HTML = NO GENERATE_LATEX = NO diff --git a/plugins/m/test/test_dox.py b/plugins/m/test/test_dox.py index 59dcd77f..e6c02c84 100644 --- a/plugins/m/test/test_dox.py +++ b/plugins/m/test/test_dox.py @@ -32,7 +32,7 @@ class Dox(PluginTestCase): self.run_pelican({ 'PLUGINS': ['m.htmlsanity', 'm.dox'], 'M_DOX_TAGFILES': [ - ('../doc/doxygen/corrade.tag', 'https://doc.magnum.graphics/corrade/', ['Corrade::'])] + ('../doc/documentation/corrade.tag', 'https://doc.magnum.graphics/corrade/', ['Corrade::'])] }) self.assertEqual(*self.actual_expected_contents('page.html')) @@ -41,7 +41,7 @@ class Dox(PluginTestCase): self.run_pelican({ 'PLUGINS': ['m.htmlsanity', 'm.dox'], 'M_DOX_TAGFILES': [ - ('../doc/doxygen/corrade.tag', 'https://doc.magnum.graphics/corrade/', ['Corrade::'], ['m-flat', 'm-text', 'm-strong'])] + ('../doc/documentation/corrade.tag', 'https://doc.magnum.graphics/corrade/', ['Corrade::'], ['m-flat', 'm-text', 'm-strong'])] }) self.assertEqual(*self.actual_expected_contents('page.html', 'page_css_classes.html')) diff --git a/site/pelicanconf.py b/site/pelicanconf.py index 1bf59d39..4eed9701 100644 --- a/site/pelicanconf.py +++ b/site/pelicanconf.py @@ -173,7 +173,7 @@ FORMATTED_FIELDS = ['summary', 'landing', 'header', 'footer', 'description', 'ba M_HTMLSANITY_SMART_QUOTES = True M_HTMLSANITY_HYPHENATION = True M_DOX_TAGFILES = [ - ('../doc/doxygen/corrade.tag', 'https://doc.magnum.graphics/corrade/', ['Corrade::'])] + ('../doc/documentation/corrade.tag', 'https://doc.magnum.graphics/corrade/', ['Corrade::'])] if not shutil.which('latex'): logging.warning("LaTeX not found, fallback to rendering math as code")