Skip to content

Commit

Permalink
Document fonts are incorrect
Browse files Browse the repository at this point in the history
Problem:
Statically defined fonts were not available at python.rkvst.com.

Solution:
Fonts were retrieved using http instead of https which failed for
external users but succeeded when run locally.
Additionally fixed spurious pyright error.

Signed-off-by: Paul Hewlett <[email protected]>
  • Loading branch information
eccles committed Mar 27, 2023
1 parent d566dd9 commit e7cb843
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/_static/css/rkvst_theme.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import url("http://fonts.googleapis.com/css?family=Montserrat");
@import url("http://fonts.googleapis.com/css?family=Open+Sans");
@import url("http://fonts.googleapis.com/css?family=Roboto+Mono");
@import url("https://fonts.googleapis.com/css?family=Montserrat");
@import url("https://fonts.googleapis.com/css?family=Open+Sans");
@import url("https://fonts.googleapis.com/css?family=Roboto+Mono");

h1,
h2,
Expand Down Expand Up @@ -28,4 +28,4 @@ pre {

.wy-menu {
font-family: 'Open Sans';
}
}
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ enabled = true
[tool.pyright]
include = ["archivist"]
typeCheckingMode = "basic"
#
# from v1.1.300 an error 'archivist/cmds/runner/run.py:27:21 - error: Module is not callable'
# was generated. Similar code in cmds/templare/run.py did not generate this error
# and no combination of settings would work so had to resort to
# suppressing this general error. Issues have been raised at pyright about this
# being too general. There is not enough time or patience to fix linting apps which
# are faulty.
reportGeneralTypeIssues = false

[tool.pylint.main]
# Analyse import fallback blocks. This can be used to support both Python 2 and 3
Expand Down

0 comments on commit e7cb843

Please sign in to comment.