diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fcfc2f8e..38ce4932 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,3 +36,5 @@ repos: rev: 5.0.4 hooks: - id: flake8 + +exclude: ^docs/javascripts/ diff --git a/docs/api_reference.md b/docs/api_reference.md index e86bcdb9..e4e45f97 100644 --- a/docs/api_reference.md +++ b/docs/api_reference.md @@ -28,7 +28,7 @@ $('#apiIframe').on('load', function() { }); // reloads the window with the content when a user navigates over the browser's history -function locationHashChanged() { +function locationHashChanged() { window.location.reload(); } window.onhashchange = locationHashChanged; diff --git a/docs/api_reference/src/CMakeLists.txt b/docs/api_reference/src/CMakeLists.txt index 40186a0d..74fc94fb 100644 --- a/docs/api_reference/src/CMakeLists.txt +++ b/docs/api_reference/src/CMakeLists.txt @@ -14,7 +14,7 @@ jegp_add_standardese_sources( LIBRARIES intro quantities EXTENSIONS macros_extensions CHECKED TRUE -# PDF PATH "mp-units.pdf" #[[EXCLUDE_FROM_MAIN]] + # PDF PATH "mp-units.pdf" #[[EXCLUDE_FROM_MAIN]] HTML PATH "mp-units.html" #[[EXCLUDE_FROM_MAIN]] SECTION_FILE_STYLE "WithExtension" LATEX_REGEX_REPLACE