Skip to content

Commit 3eeb688

Browse files
committedMar 17, 2021
All Object functions now appear in ToC and search results
1 parent 6287f48 commit 3eeb688

File tree

5 files changed

+112
-171
lines changed

5 files changed

+112
-171
lines changed
 

‎Pipfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ name = "Tabletop Simulator API"
55

66
[packages]
77
mkdocs = "~=1.1.2"
8-
mkdocs-material = "~= 7.0.4"
8+
mkdocs-material = "~= 7.0.6"
99
mkdocs-material-extensions = "~= 1.0.1"
10-
pymdown-extensions = "~=8.1.1"
10+
pymdown-extensions = "~= 8.1.1"
11+
pymdown-toc-ext = "~= 1.3"
1112

1213
[requires]
1314
python_version = "3.6"

‎Pipfile.lock

+26-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/css/theme.css

+4
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,7 @@ disabled due to lack of need currently, but works*/
111111
left:0.625rem;
112112
top:-0.25rem;
113113
}
114+
115+
[data-toc-mock-searchable] {
116+
scroll-margin-top: 72px !important;
117+
}

‎docs/object.md

+74-154
Large diffs are not rendered by default.

‎mkdocs.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
site_name: Tabletop Simulator API
22
theme:
3+
custom_dir: 'theme'
4+
favicon: 'img/Icon-Dice.png'
5+
logo: 'img/TSIcon.png'
36
name: 'material'
47
palette:
58
primary: 'indigo'
69
accent: 'indigo'
7-
logo: 'img/TSIcon.png'
8-
favicon: 'img/Icon-Dice.png'
9-
custom_dir: 'theme'
1010

1111
extra_css:
1212
- css/theme.css
@@ -34,14 +34,14 @@ markdown_extensions:
3434
- theme/icons
3535
- pymdownx.highlight
3636
- pymdownx.inlinehilite
37-
- pymdownx.magiclink
3837
- pymdownx.mark
3938
- pymdownx.smartsymbols
4039
- pymdownx.superfences
4140
- pymdownx.tasklist:
4241
custom_checkbox: true
4342
- pymdownx.tilde
44-
- toc:
43+
- toc_ext:
44+
mkdocs_search_sections: true
4545
permalink: true
4646

4747
repo_name: 'GitHub Source'

0 commit comments

Comments
 (0)
Please sign in to comment.