Spaces:
Running
Running
Commit
·
d563645
1
Parent(s):
5691c27
Properly link documentation URLs
Browse files- pydoc-markdown.yml +15 -0
pydoc-markdown.yml
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
loaders:
|
| 2 |
- type: python
|
| 3 |
|
|
@@ -7,7 +15,14 @@ processors:
|
|
| 7 |
- type: crossref
|
| 8 |
renderer:
|
| 9 |
type: hugo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
config:
|
|
|
|
| 11 |
title: PySR
|
| 12 |
theme: {clone_url: "https://github.com/alex-shpak/hugo-book.git"}
|
| 13 |
# The "book" theme only renders pages in "content/docs" into the nav.
|
|
|
|
| 1 |
+
#@ def base_url():
|
| 2 |
+
#@ if env.READTHEDOCS:
|
| 3 |
+
#@ return "https://pysr.readthedocs.io/en/" + env.READTHEDOCS_VERSION + "/"
|
| 4 |
+
#@ else:
|
| 5 |
+
#@ return None
|
| 6 |
+
#@ end
|
| 7 |
+
|
| 8 |
+
|
| 9 |
loaders:
|
| 10 |
- type: python
|
| 11 |
|
|
|
|
| 15 |
- type: crossref
|
| 16 |
renderer:
|
| 17 |
type: hugo
|
| 18 |
+
|
| 19 |
+
markdown:
|
| 20 |
+
source_linker:
|
| 21 |
+
type: github
|
| 22 |
+
repo: MilesCranmer/PySR
|
| 23 |
+
|
| 24 |
config:
|
| 25 |
+
baseURL: #@ base_url()
|
| 26 |
title: PySR
|
| 27 |
theme: {clone_url: "https://github.com/alex-shpak/hugo-book.git"}
|
| 28 |
# The "book" theme only renders pages in "content/docs" into the nav.
|