From: Vladimír Vondruš Date: Fri, 12 Oct 2018 20:06:09 +0000 (+0200) Subject: doxygen: make it possible to have separate brand link in navbar. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=f9376403e3a41fb143bfccb9feb9602489c635b7;p=blog.git doxygen: make it possible to have separate brand link in navbar. --- diff --git a/doc/doxygen.rst b/doc/doxygen.rst index a1a6381c..da3efc4f 100644 --- a/doc/doxygen.rst +++ b/doc/doxygen.rst @@ -304,6 +304,11 @@ Variable Description `Navbar links`_ for more information. :ini:`M_LINKS_NAVBAR2` Right navbar column links. See `Navbar links`_ for more information. +:ini:`M_MAIN_PROJECT_URL` If set and :ini:`PROJECT_BRIEF` is also + set, then :ini:`PROJECT_NAME` in the top + navbar will link to this URL and + :ini:`PROJECT_BRIEF` into the documentation + main page, similarly as `shown here <{filename}/css/page-layout.rst#link-back-to-main-site-from-a-subsite>`_. :ini:`M_HTML_HEADER` HTML code to put at the end of the :html:`` element. Useful for linking arbitrary JavaScript code or, for example, diff --git a/doxygen/dox2html5.py b/doxygen/dox2html5.py index e53bf8fb..ff88aabf 100755 --- a/doxygen/dox2html5.py +++ b/doxygen/dox2html5.py @@ -2957,6 +2957,7 @@ list using and 'OUTPUT_DIRECTORY', 'HTML_OUTPUT', 'XML_OUTPUT', + 'M_MAIN_PROJECT_URL', 'M_HTML_HEADER', 'M_PAGE_HEADER', 'M_PAGE_FINE_PRINT', diff --git a/doxygen/templates/base.html b/doxygen/templates/base.html index db26ec0a..4820545a 100644 --- a/doxygen/templates/base.html +++ b/doxygen/templates/base.html @@ -23,7 +23,13 @@