Skip to content

Commit 86f1e61

Browse files
moschmdtgarfieldnate
authored andcommitted
Update mkdocs material version
This update enables the automatic light/ dark toggle and buttons to quickly edit or view the file in GitHub. Also enables the abbreviations feature in mkdocs.
1 parent ae8ffc8 commit 86f1e61

File tree

3 files changed

+92
-71
lines changed

3 files changed

+92
-71
lines changed

includes/abbreviations.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!-- <!-- markdownlint-disable-file MD041-->
2+
3+
*[SGIO]: Soar General Input/Output Interface
4+
*[Tcl]: Tool Command Language
5+
*[DARPA]: Defense Advanced Research Projects Agency
6+
*[SML]: Soar Markup Language

mkdocs.yml

Lines changed: 83 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,39 @@ site_name: Soar documentation
22
repo_url: http://github.com/SoarGroup/Documentation
33
repo_name: SoarGroup/Documentation
44
copyright: SoarGroup &copy;
5+
edit_uri: edit/main/docs/
56

67
theme:
78
name: material
89
locale: en
910
features:
1011
- content.code.copy
12+
- content.action.view
13+
- content.action.edit
14+
- content.tooltips
1115
- navigation.tabs
1216
- navigation.footer
1317
- navigation.top
1418
- navigation.indexes
1519
- navigation.expand
1620
- header.autohide
1721
palette:
18-
- scheme: default
22+
- media: "(prefers-color-scheme)"
23+
toggle:
24+
icon: material/brightness-auto
25+
name: Switch to light mode
26+
- media: "(prefers-color-scheme: light)"
27+
scheme: default
1928
toggle:
2029
icon: material/toggle-switch-off-outline
2130
name: Switch to dark mode
22-
- scheme: slate
31+
- media: "(prefers-color-scheme: dark)"
32+
scheme: slate
2333
toggle:
2434
icon: material/toggle-switch
2535
name: Switch to light mode
26-
logo: Images/soar.png
27-
custom_dir: overrides
36+
logo: Images/soar.png
37+
custom_dir: overrides
2838

2939
extra_javascript:
3040
- javascripts/mathjax.js
@@ -41,50 +51,57 @@ markdown_extensions:
4151
line_spans: __span
4252
pygments_lang_class: true
4353
- pymdownx.inlinehilite
44-
- pymdownx.snippets
54+
- abbr
55+
- attr_list
56+
- pymdownx.snippets:
57+
auto_append:
58+
- includes/abbreviations.md
4559
- pymdownx.superfences
4660
- attr_list
4761
- md_in_html
4862
- pymdownx.arithmatex:
4963
generic: true
5064

65+
watch:
66+
- includes
67+
5168
nav:
5269
- Soar:
5370
- index.md
5471
- Research:
55-
- Publications: "soar/Publications.md"
56-
- Research Groups: "soar/ResearchGroups.md"
57-
- Academic Institutions: "soar/OtherAcademicInstitutions.md"
58-
- Commercial Soar Organizations: "soar/CommercialSoarOrganizations.md"
72+
- Publications: soar/Publications.md
73+
- Research Groups: soar/ResearchGroups.md
74+
- Academic Institutions: soar/OtherAcademicInstitutions.md
75+
- Commercial Soar Organizations: soar/CommercialSoarOrganizations.md
5976
- Soar Manual:
6077
- soar_manual/index.md
61-
- Introduction: "soar_manual/01_Introduction.md"
62-
- The Soar Architecture: "soar_manual/02_TheSoarArchitecture.md"
63-
- Syntax of Soar Programs: "soar_manual/03_SyntaxOfSoarPrograms.md"
64-
- Procedural Knowledge Learning: "soar_manual/04_ProceduralKnowledgeLearning.md"
65-
- Reinforcement Learning: "soar_manual/05_ReinforcementLearning.md"
66-
- Semantic Memory: "soar_manual/06_SemanticMemory.md"
67-
- Episodic Memory: "soar_manual/07_EpisodicMemory.md"
68-
- Spatial Visual System: "soar_manual/08_SpatialVisualSystem.md"
69-
- Soar User Interface: "soar_manual/09_SoarUserInterface.md"
70-
- Blocksworld: "soar_manual/blocksworld.md"
78+
- Introduction: soar_manual/01_Introduction.md
79+
- The Soar Architecture: soar_manual/02_TheSoarArchitecture.md
80+
- Syntax of Soar Programs: soar_manual/03_SyntaxOfSoarPrograms.md
81+
- Procedural Knowledge Learning: soar_manual/04_ProceduralKnowledgeLearning.md
82+
- Reinforcement Learning: soar_manual/05_ReinforcementLearning.md
83+
- Semantic Memory: soar_manual/06_SemanticMemory.md
84+
- Episodic Memory: soar_manual/07_EpisodicMemory.md
85+
- Spatial Visual System: soar_manual/08_SpatialVisualSystem.md
86+
- Soar User Interface: soar_manual/09_SoarUserInterface.md
87+
- Blocksworld: soar_manual/blocksworld.md
7188
- Explanations:
7289
- explanations/index.md
73-
- Basic Kernel Terminology: "explanations/BasicKernelTerminology.md"
74-
- Design Dogma: "explanations/DesignDogma.md"
75-
- Threads in SML: "explanations/ThreadsInSML.md"
76-
- Timers: "explanations/Timers.md"
77-
- Waterfall: "explanations/Waterfall.md"
90+
- Basic Kernel Terminology: explanations/BasicKernelTerminology.md
91+
- Design Dogma: explanations/DesignDogma.md
92+
- Threads in SML: explanations/ThreadsInSML.md
93+
- Timers: explanations/Timers.md
94+
- Waterfall: explanations/Waterfall.md
7895
- Tutorials:
7996
- tutorials/index.md
8097
- Java Soar Debugger Intro: tutorials/IntroSoarDebugger.md
8198
- Soar Markup Language: tutorials/SMLQuickStartGuide.md
8299
- Official Soar Tutorials:
83-
- "tutorials/soar_tutorial/index.md"
84-
- Tank and Eaters Configuration: "tutorials/soar_tutorial/TankEatersConfigFile.md"
100+
- tutorials/soar_tutorial/index.md
101+
- Tank and Eaters Configuration: tutorials/soar_tutorial/TankEatersConfigFile.md
85102
- HowTo Guides:
86103
- how_to/index.md
87-
- Building Soar and ROS1: "how_to/BuildingSoarRos.md"
104+
- Building Soar and ROS1: how_to/BuildingSoarRos.md
88105
- CLI Parsing Code: how_to/CLIParsingCode.md
89106
- How to compile SML Clients: how_to/HowToCompileSmlClients.md
90107
- IO and Reward Links: how_to/IOAndRewardLinks.md
@@ -93,47 +110,45 @@ nav:
93110
- Soar Technical FAQ: how_to/SoarTechnicalFAQ.md
94111
- Reference:
95112
- reference/index.md
96-
- Command Line Interface:
97-
- "reference/cli/index.md"
98-
- alias: "reference/cli/cmd_alias.md"
99-
- trace: "reference/cli/cmd_trace.md"
100-
- help: "reference/cli/cmd_help.md"
101-
- sp: "reference/cli/cmd_sp.md"
102-
- load: "reference/cli/cmd_load.md"
103-
- gp: "reference/cli/cmd_gp.md"
104-
- wm: "reference/cli/cmd_wm.md"
105-
- rl: "reference/cli/cmd_rl.md"
106-
- default_wme_depth: "reference/cli/cmd_default_wme_depth.md"
107-
- stop_soar: "reference/cli/cmd_stop_soar.md"
108-
- alias: "reference/cli/cmd_alias.md"
109-
- echo: "reference/cli/cmd_echo.md"
110-
- command_to_file: "reference/cli/cmd_command_to_file.md"
111-
- unalias: "reference/cli/cmd_unalias.md"
112-
- epmem: "reference/cli/cmd_epmem.md"
113-
- clog: "reference/cli/cmd_clog.md"
114-
- visualize: "reference/cli/cmd_visualize.md"
115-
- preference: "reference/cli/cmd_preferences.md"
116-
- excise: "reference/cli/cmd_excise.md"
117-
- production: "reference/cli/cmd_production.md"
118-
- wma: "reference/cli/cmd_wma.md"
119-
- smem: "reference/cli/cmd_smem.md"
120-
- chunk: "reference/cli/cmd_chunk.md"
121-
- soar: "reference/cli/cmd_soar.md"
122-
- run: "reference/cli/cmd_run.md"
123-
- svs: "reference/cli/cmd_svs.md"
124-
- explain: "reference/cli/cmd_explain.md"
125-
- init_soar: "reference/cli/cmd_init_soar.md"
126-
- decide: "reference/cli/cmd_decide.md"
127-
- print: "reference/cli/cmd_print.md"
128-
- debug: "reference/cli/cmd_debug.md"
129-
- stats: "reference/cli/cmd_stats.md"
130-
- timers: "reference/cli/cmd_timers.md"
131-
- watch: "reference/cli/cmd_watch.md"
132-
- save: "reference/cli/cmd_save.md"
133-
- max_nil_output_cycles: "reference/cli/cmd_max_nil_output_cycles.md"
134-
- file_system: "reference/cli/cmd_file_system.md"
135-
- output: "reference/cli/cmd_output.md"
136-
- Tag Index: "soar/tags.md"
113+
- Command Line Options for Debugging and CLI: reference/CommandLineOptionsForDebuggerAndCLI.md
114+
- Command Line Interface:
115+
- reference/cli/index.md
116+
- alias: reference/cli/cmd_alias.md
117+
- chunk: reference/cli/cmd_chunk.md
118+
- command_to_file: reference/cli/cmd_command_to_file.md
119+
- debug: reference/cli/cmd_debug.md
120+
- decide: reference/cli/cmd_decide.md
121+
- default_wme_depth: reference/cli/cmd_default_wme_depth.md
122+
- echo: reference/cli/cmd_echo.md
123+
- epmem: reference/cli/cmd_epmem.md
124+
- excise: reference/cli/cmd_excise.md
125+
- explain: reference/cli/cmd_explain.md
126+
- file_system: reference/cli/cmd_file_system.md
127+
- gp: reference/cli/cmd_gp.md
128+
- help: reference/cli/cmd_help.md
129+
- init_soar: reference/cli/cmd_init_soar.md
130+
- load: reference/cli/cmd_load.md
131+
- max_nil_output_cycles: reference/cli/cmd_max_nil_output_cycles.md
132+
- output: reference/cli/cmd_output.md
133+
- preference: reference/cli/cmd_preferences.md
134+
- print: reference/cli/cmd_print.md
135+
- production: reference/cli/cmd_production.md
136+
- rl: reference/cli/cmd_rl.md
137+
- run: reference/cli/cmd_run.md
138+
- save: reference/cli/cmd_save.md
139+
- smem: reference/cli/cmd_smem.md
140+
- soar: reference/cli/cmd_soar.md
141+
- sp: reference/cli/cmd_sp.md
142+
- stats: reference/cli/cmd_stats.md
143+
- stop_soar: reference/cli/cmd_stop_soar.md
144+
- svs: reference/cli/cmd_svs.md
145+
- timers: reference/cli/cmd_timers.md
146+
- trace: reference/cli/cmd_trace.md
147+
- visualize: reference/cli/cmd_visualize.md
148+
- watch: reference/cli/cmd_watch.md
149+
- wm: reference/cli/cmd_wm.md
150+
- wma: reference/cli/cmd_wma.md
151+
- Tag Index: soar/tags.md
137152

138153
plugins:
139154
- search

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
mkdocs-img2figv2-plugin==0.0.2
2-
mkdocs-material==9.2.8
3-
mkdocs-material-extensions==1.1.1
4-
python-markdown-math==0.8
2+
mkdocs-material==9.*
3+
mkdocs-material-extensions==1.*
4+
python-markdown-math==0.8

0 commit comments

Comments
 (0)