File tree 4 files changed +29
-0
lines changed
4 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,9 @@ sphinx:
98
98
badges : .
99
99
committers : .
100
100
bibliography : .
101
+ prem_theme : .
101
102
config :
103
+ html_theme : prem_theme
102
104
myst_heading_anchors : 4
103
105
html_js_files :
104
106
- [https://analytics.prem.ninja/js/script.js, {defer : defer, data-domain: book.premai.io}]
Original file line number Diff line number Diff line change
1
+ from os import path
2
+
3
+ def setup (app ):
4
+ app .add_html_theme ('prem_theme' , path .abspath (path .dirname (__file__ )))
Original file line number Diff line number Diff line change
1
+ {% extends "sphinx_book_theme/layout.html" %}
2
+ {% block extrahead %}
3
+ < meta property ="og:site_name " content ="The State of Open Source AI " />
4
+ < meta property ="og:title " content ="{{ title }} " />
5
+ < meta property ="og:type " content ="book " />
6
+ < meta property ="og:image " content ="https://static.premai.io/book/book-cover.jpg " />
7
+ < meta property ="og:url " content ="https://book.premai.io/state-of-open-source-ai/{{ '' if pagename == 'index' else pagename }} " />
8
+ < meta property ="og:description " content ="Clarity in the current fast-paced mess of Open Source innovation " />
9
+ < meta property ="og:locale " content ="en_GB " />
10
+ < meta property ="og:book:author " content ="Prem " />
11
+ {%- if last_updated %}
12
+ < meta property ="og:book:release_date " content ="{{ last_updated }} " />
13
+ {%- endif %}
14
+ < meta property ="og:book:tag " content ="open-source " />
15
+ < meta property ="og:book:tag " content ="AI " />
16
+ < meta property ="og:book:tag " content ="book " />
17
+ < meta property ="og:book:tag " content ="ML " />
18
+ < meta property ="og:book:tag " content ="MLOps " />
19
+ < meta property ="og:book:tag " content ="Jupyter-Book " />
20
+ {{ super() }}
21
+ {% endblock extrahead %}
Original file line number Diff line number Diff line change
1
+ [theme]
2
+ inherit = sphinx_book_theme
You can’t perform that action at this time.
0 commit comments