From 61dadc0e945e9c3b6bb95a818d217a32b1a5c59c Mon Sep 17 00:00:00 2001 From: Anton Akhmerov <anton.akhmerov@gmail.com> Date: Fri, 4 Dec 2015 17:58:24 +0100 Subject: [PATCH] add extension to filenames, so that URL rewrite isn't needed; fixes #9 --- conf.py | 8 ++++---- content/authors.rst | 2 +- content/citing.rst | 2 +- content/community.rst | 2 +- content/harvard-only_trial.rst | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/conf.py b/conf.py index 1215ff6..869cd49 100644 --- a/conf.py +++ b/conf.py @@ -123,11 +123,11 @@ TRANSLATIONS_PATTERN = "{path}.{lang}.{ext}" NAVIGATION_LINKS = { DEFAULT_LANG: ( - ("/install", "install"), + ("/install.html", "install"), ("/doc", "documentation"), - ("/community", "community"), - ("/authors", "authors"), - ("/citing", "citing") + ("/community.html", "community"), + ("/authors.html", "authors"), + ("/citing.html", "citing") ), } diff --git a/content/authors.rst b/content/authors.rst index b01f27d..e98bb58 100644 --- a/content/authors.rst +++ b/content/authors.rst @@ -12,7 +12,7 @@ The principal developers of kwant are: Grenoble) Kwant authors should be reached via email authors@kwant-project.org. Please use -the `mailing list </community>`_ for any Kwant-related question that can +the `mailing list </community.html>`_ for any Kwant-related question that can be discussed publicly. Other people that have contributed to Kwant include diff --git a/content/citing.rst b/content/citing.rst index 9a2a727..b771a3b 100644 --- a/content/citing.rst +++ b/content/citing.rst @@ -1,7 +1,7 @@ Citing Kwant ============ -We provide Kwant as free software under a `BSD license </license>`_ as a +We provide Kwant as free software under a `BSD license </license.html>`_ as a service to the physics community. If you have used Kwant for work that has lead to a scientific publication, please mention the fact that you used it explicitly in the text body. For example, you may add diff --git a/content/community.rst b/content/community.rst index f259fc4..bb657e4 100644 --- a/content/community.rst +++ b/content/community.rst @@ -146,7 +146,7 @@ fixing/improving the documentation. If you have some code that works well with Kwant, or extends it in some useful way, please consider sharing it. Any external contribution will be clearly marked as such, and relevant papers will be added to the list of `suggested -acknowledgements </citing>`_. The complete development history is also +acknowledgements </citing.html>`_. The complete development history is also made available through a `web interface <http://git.kwant-project.org/kwant>`_. If you plan to contribute, it is best to coordinate with us in advance either through the general mailing list kwant-discuss@kwant-project.org, or directly at diff --git a/content/harvard-only_trial.rst b/content/harvard-only_trial.rst index e8113ae..d73fbaa 100644 --- a/content/harvard-only_trial.rst +++ b/content/harvard-only_trial.rst @@ -2,5 +2,5 @@ Trial pre-release of Kwant ========================== With the release of Kwant the instructions that were here were rendered -obsolete. Please go to the `installation instructions </install>`_ for the +obsolete. Please go to the `installation instructions </install.html>`_ for the latest Kwant release. -- GitLab