Spaces:
Running
Running
MilesCranmer
commited on
Commit
•
566aadb
1
Parent(s):
5e347a6
Correctly set up navigation
Browse files- gen_docs.sh +1 -1
- mkdocs.yml +13 -1
gen_docs.sh
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
cat README.md | grep -v 'pysr_logo.svg' | grep -E -v '\<.*div.*\>' > docs/index.md
|
4 |
# Transform "## Test status" to "**Test status**":
|
5 |
cd docs
|
6 |
-
sed -i.bak 's
|
7 |
# Change '# ' to '## ':
|
8 |
sed -i.bak '10,$s/^\# /## /g' index.md
|
9 |
python generate_papers.py
|
|
|
3 |
cat README.md | grep -v 'pysr_logo.svg' | grep -E -v '\<.*div.*\>' > docs/index.md
|
4 |
# Transform "## Test status" to "**Test status**":
|
5 |
cd docs
|
6 |
+
sed -i.bak 's/\#\#\# Test status/**Test status**/g' index.md
|
7 |
# Change '# ' to '## ':
|
8 |
sed -i.bak '10,$s/^\# /## /g' index.md
|
9 |
python generate_papers.py
|
mkdocs.yml
CHANGED
@@ -8,6 +8,15 @@ theme:
|
|
8 |
icon:
|
9 |
repo: fontawesome/brands/github-alt
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
extra:
|
12 |
homepage: https://astroautomata.com/PySR
|
13 |
|
@@ -29,9 +38,12 @@ plugins:
|
|
29 |
docstring_style: numpy
|
30 |
merge_init_into_class: True
|
31 |
# docstring_options
|
32 |
-
separate_signature: True
|
|
|
33 |
|
34 |
markdown_extensions:
|
|
|
|
|
35 |
- attr_list
|
36 |
- md_in_html
|
37 |
- pymdownx.highlight:
|
|
|
8 |
icon:
|
9 |
repo: fontawesome/brands/github-alt
|
10 |
|
11 |
+
nav:
|
12 |
+
- index.md
|
13 |
+
- options.md
|
14 |
+
- operators.md
|
15 |
+
- examples.md
|
16 |
+
- Reference:
|
17 |
+
- api.md
|
18 |
+
- api-advanced.md
|
19 |
+
|
20 |
extra:
|
21 |
homepage: https://astroautomata.com/PySR
|
22 |
|
|
|
38 |
docstring_style: numpy
|
39 |
merge_init_into_class: True
|
40 |
# docstring_options
|
41 |
+
# separate_signature: True
|
42 |
+
show_bases: false
|
43 |
|
44 |
markdown_extensions:
|
45 |
+
- toc:
|
46 |
+
permalink: true
|
47 |
- attr_list
|
48 |
- md_in_html
|
49 |
- pymdownx.highlight:
|