Skip to content

Commit 5703232

Browse files
mkdocs: update overrides and config format
1 parent a28bba1 commit 5703232

3 files changed

Lines changed: 18 additions & 12 deletions

File tree

mkdocs.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ theme:
2929
- navigation.indexes # Nav sections can have files
3030
- navigation.instant # Avoid page reloading for internal links
3131
- navigation.top
32-
- navigation.tracking # Update URL with anchor
32+
- navigation.tracking # Update URL with sub-heading anchor names
3333
palette:
3434
# Palette toggle for light mode
3535
- media: "(prefers-color-scheme: light)"
@@ -39,7 +39,6 @@ theme:
3939
toggle:
4040
icon: material/brightness-7
4141
name: Switch to dark mode
42-
4342
# Palette toggle for dark mode
4443
- media: "(prefers-color-scheme: dark)"
4544
scheme: slate
@@ -68,7 +67,8 @@ markdown_extensions:
6867
- pymdownx.highlight:
6968
anchor_linenums: true
7069
- pymdownx.inlinehilite
71-
- pymdownx.snippets
70+
- pymdownx.snippets:
71+
url_download: true
7272
- pymdownx.superfences:
7373
custom_fences:
7474
- name: mermaid
@@ -111,6 +111,8 @@ extra:
111111
provider: google
112112
property: G-ZRNZJBJ4Q8
113113
social:
114+
- icon: material/web
115+
link: https://practical.li/
114116
- icon: fontawesome/brands/linkedin
115117
link: https://www.linkedin.com/in/jr0cket/
116118
- icon: fontawesome/brands/slack

overrides/404.html

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,30 @@
1010
<h1>This is not the page you are looking for</h1>
1111

1212
<h3>
13-
Sorry we have arrived at a page that does not exist... or has been moved as this book evolves
13+
Sorry we have arrived at a page that does not exist...
1414
</h3>
1515

1616
<p>
17-
Try use the Search bar at the top of the page or refresh and review the left-hand navigation sections
17+
Practicalli website are published using Material for MkDocs
1818
</p>
19-
<!--
19+
20+
<p>
21+
Use the Search bar at the top of the page or left navigation to find the relevant content.
22+
</p>
23+
2024
<p>
2125
<a href="https://practical.li/clojure">
22-
<img src="https://raw.githubusercontent.com/practicalli/graphic-design/live/book-covers/practicalli-clojure-book-banner-dark.png#only-dark"
23-
alt="Practicalli Spacemacs book cover">
26+
<img src="https://raw.githubusercontent.com/practicalli/graphic-design/live/editors/vspacecode-clojure-in-action-dark.png#only-dark"
27+
alt="Practicalli VSpaceCode book cover">
2428
</a>
2529
</p>
2630

2731
<p>
2832
<a href="https://practical.li/clojure">
29-
<img src="https://raw.githubusercontent.com/practicalli/graphic-design/live/book-covers/practicalli-clojure-book-banner-light.png#only-light"
30-
alt="Practicalli Spacemacs book cover">
33+
<img src="https://raw.githubusercontent.com/practicalli/graphic-design/live/editors/vspacecode-clojure-in-action-light.png#only-light"
34+
alt="Practicalli VSpaceCode book cover">
3135
</a>
3236
</p>
33-
-->
37+
3438

3539
{% endblock %}

overrides/main.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
<!-- Content -->
1212
{% block announce %}
1313

14-
Practicalli VSpaceCode is a new book under development. Visit <a href="https://practical.li/">Practicalli Website</a> for more books on Clojure development
14+
<a href="https://practical.li/clojure">Practicalli Clojure</a> has migrated to MkDocs
1515

1616
{% endblock %}

0 commit comments

Comments
 (0)