Skip to content

Commit 35e0dec

Browse files
author
Oleh Prypin
authored
Update to use Hatch build, update for MkDocs 1.5 (#18)
1 parent d708502 commit 35e0dec

14 files changed

Lines changed: 54 additions & 56 deletions

MANIFEST.in

Lines changed: 0 additions & 5 deletions
This file was deleted.

basic_theme/base.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<meta charset="utf-8">
1111
<meta http-equiv="x-ua-compatible" content="ie=edge">
1212
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
13-
13+
1414
<!--
1515
The page_title contains the title for a page as shown in the navigation.
1616
Site name contains the name as defined in the mkdocs.yml
@@ -32,7 +32,7 @@
3232
<link rel="stylesheet" href="{{ "css/theme.css"|url }}">
3333

3434
<!--
35-
extra_ess contains paths to CSS files in the users
35+
extra_css contains paths to CSS files in the users
3636
documentation directory or a list of CSS files defined in
3737
their mkdocs.yml.
3838
@@ -42,15 +42,15 @@
4242
<link href="{{ path|url }}" rel="stylesheet">
4343
{% endfor %}
4444

45-
<!--
46-
To include static assets from our theme, just add
47-
{{ base_url }} beforehand which will be the relative path to
48-
the root of the documentation.
49-
-->
5045
<script
5146
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
5247
integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E="
5348
crossorigin="anonymous"></script>
49+
50+
<!--
51+
To include static assets from our theme, just make the path
52+
relative to the root of the documentation with `|url`.
53+
-->
5454
<script src="{{ "js/theme.js"|url }}"></script>
5555

5656
{% block extrahead %}
@@ -63,8 +63,8 @@
6363
6464
http://www.mkdocs.org/user-guide/configuration/#extra_javascript
6565
-->
66-
{% for path in config.extra_javascript %}
67-
<script src="{{ path|url }}"></script>
66+
{% for script in config.extra_javascript %}
67+
{{ script | script_tag }}
6868
{% endfor %}
6969

7070
<!--

docs/about/contributing.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ title: Contributing
33
---
44
# Testing Page
55

6-
See the [Home Page](/). All the other pages are for demonstration purposes
7-
with the navigation only.
6+
See the [Home Page](../index.md). All the other pages are for demonstration purposes with the navigation only.

docs/about/license.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ title: License
33
---
44
# Testing Page
55

6-
See the [Home Page](/). All the other pages are for demonstration purposes
7-
with the navigation only.
6+
See the [Home Page](../index.md). All the other pages are for demonstration purposes with the navigation only.

docs/about/release-notes/version-1.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ title: Version 1 Release Notes
33
---
44
# Testing Page
55

6-
See the [Home Page](/). All the other pages are for demonstration purposes
7-
with the navigation only.
6+
See the [Home Page](../../index.md). All the other pages are for demonstration purposes with the navigation only.

docs/about/release-notes/version-2.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ title: Version 2 Release Notes
33
---
44
# Testing Page
55

6-
See the [Home Page](/). All the other pages are for demonstration purposes
7-
with the navigation only.
6+
See the [Home Page](../../index.md). All the other pages are for demonstration purposes with the navigation only.

docs/user-guide/configuration.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ title: Configuration
44

55
# Testing Page
66

7-
See the [Home Page](/). All the other pages are for demonstration purposes
8-
with the navigation only.
7+
See the [Home Page](../index.md). All the other pages are for demonstration purposes with the navigation only.

docs/user-guide/custom-themes.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ title: Custom Themes
33
---
44
# Testing Page
55

6-
See the [Home Page](/). All the other pages are for demonstration purposes
7-
with the navigation only.
6+
See the [Home Page](../index.md). All the other pages are for demonstration purposes with the navigation only.

docs/user-guide/deploying-your-docs.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ title: Deploying Your Docs
33
---
44
# Testing Page
55

6-
See the [Home Page](/). All the other pages are for demonstration purposes
7-
with the navigation only.
6+
See the [Home Page](../index.md). All the other pages are for demonstration purposes with the navigation only.

docs/user-guide/styling-your-docs.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ title: Styling Your Docs
33
---
44
# Testing Page
55

6-
See the [Home Page](/). All the other pages are for demonstration purposes
7-
with the navigation only.
6+
See the [Home Page](../index.md). All the other pages are for demonstration purposes with the navigation only.

0 commit comments

Comments
 (0)