From 32712a20a8071b8c742774338a5d93a704b19f82 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Sun, 8 Sep 2024 08:32:17 +0200 Subject: [PATCH] style: pre-commit formatting issues resolved --- .pre-commit-config.yaml | 2 ++ docs/api_reference.md | 2 +- docs/api_reference/src/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) 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