-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Watz-Inc/misc
Doc 404, doc outdated header, docstrings
- Loading branch information
Showing
6 changed files
with
25 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!-- MANUAL: add this directly to the docs-site branch where its needed --> | ||
<!-- This currently always redirects to the latest version which isn't ideal, but should be sorted eventually as the issue is recent --> | ||
<!-- (the solution in the issue hardcodes the versions which isn't worth it) --> | ||
<!-- https://github.com/jimporter/mike/issues/72 --> | ||
|
||
<script> | ||
const defaultVersion = "latest"; | ||
const basePath = "watz-py"; | ||
const targetRedirectPath = "404"; // path to redirect to, relative to basePath | ||
|
||
window.location.href = `/${basePath}/${defaultVersion}/${targetRedirectPath}`; | ||
</script> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% extends "base.html" %} {% block outdated %} You're not viewing the latest | ||
version. | ||
<a href="{{ '../' ~ base_url }}"> | ||
<strong>Click here to go to latest.</strong> | ||
</a> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters