Skip to content

Commit 2252cc3

Browse files
committed
Refresh mkdocs files
1 parent 8ba3ce6 commit 2252cc3

File tree

3 files changed

+86
-68
lines changed

3 files changed

+86
-68
lines changed

mkdocs.yml

Lines changed: 72 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ markdown_extensions:
2525
- pymdownx.highlight
2626
- pymdownx.superfences
2727
- pymdownx.inlinehilite
28-
- pymdownx.details
29-
- pymdownx.snippets
28+
# - pymdownx.details
29+
# - pymdownx.snippets
3030
# Configuration
3131
theme:
3232
name: material
@@ -43,18 +43,20 @@ theme:
4343
- 404.html
4444
features:
4545
# - search.highlight
46-
- toc.integrate
47-
- navigation.indexes
48-
# - navigation.sections
46+
# - toc.integrate
47+
- toc.hide
48+
# - navigation.indexes
49+
- toc.follow
50+
- navigation.sections
4951
# - navigation.expand
5052
# - navigation.tabs
5153
- navigation.top
5254
- navigation.tracking
5355
- navigation.instant
5456
palette:
5557
scheme: default
56-
primary: teal
57-
accent: indigo
58+
primary: blue
59+
accent: green
5860
font:
5961
text: Roboto
6062
code: Roboto Mono
@@ -70,9 +72,12 @@ plugins:
7072
- CODE_OF_CONDUCT.md
7173
- CONTRIBUTING.md
7274
- SECURITY.md
75+
- examples/case_summary.md
7376
- help_docs/chinese.md
7477
- help_docs/mysql_installation.md
7578
- integrations/katalon/ReadMe.md
79+
- help_docs/verify_webdriver.md
80+
- help_docs/webdriver_installation.md
7681
- seleniumbase/utilities/selenium_ide/ReadMe.md
7782
- seleniumbase/examples/chart_maker/ReadMe.md
7883
- minify:
@@ -82,61 +87,46 @@ plugins:
8287
on_pre_build: mkdocs_build.prepare:main
8388
# Page tree
8489
nav:
85-
- SeleniumBase ReadMe: README.md
86-
- List of Features: help_docs/features_list.md
87-
- Running Example Tests: examples/ReadMe.md
88-
- Command Line Options: help_docs/customizing_test_runs.md
89-
- Dashboard / Reports: examples/example_logs/ReadMe.md
90-
- GUI / Commander: help_docs/commander.md
91-
- Console Scripts: seleniumbase/console_scripts/ReadMe.md
92-
- Syntax Formats: help_docs/syntax_formats.md
93-
- Recorder Mode: help_docs/recorder_mode.md
94-
- API Reference: help_docs/method_summary.md
95-
- Case Plans: help_docs/case_plans.md
96-
- Setup / Install:
97-
- Install Python, pip, git: help_docs/install_python_pip_git.md
98-
- Virtualenv Instructions: help_docs/virtualenv_instructions.md
99-
- Install SeleniumBase: help_docs/install.md
100-
- WebDriver Installation: help_docs/webdriver_installation.md
101-
- Verifying WebDriver: help_docs/verify_webdriver.md
102-
- How it Works: help_docs/how_it_works.md
103-
- Behave-BDD Integration:
104-
- Behave-BDD ReadMe: examples/behave_bdd/ReadMe.md
105-
- Behave-BDD GUI App: help_docs/behave_gui.md
106-
- Languages:
107-
- Translations: help_docs/translations.md
108-
- Chinese Docs: help_docs/chinese.md
109-
- Locale Codes: help_docs/locale_codes.md
110-
- JS Generators:
111-
- Demo Mode: help_docs/demo_mode.md
112-
- Tour Maker: examples/tour_examples/ReadMe.md
113-
- Dialog Boxes: examples/dialog_boxes/ReadMe.md
114-
- Chart Maker: help_docs/chart_maker.md
115-
- Presentation Maker: examples/presenter/ReadMe.md
90+
- ✅ SeleniumBase README: README.md
91+
- 🏰 List of Features: help_docs/features_list.md
92+
- 📚 Running Example Tests: examples/ReadMe.md
93+
- 🎛️ Command Line Options: help_docs/customizing_test_runs.md
94+
- 📊 Dashboard / Reports: examples/example_logs/ReadMe.md
95+
- 🎖️ GUI / Commander: help_docs/commander.md
96+
- 🔮 Console Scripts: seleniumbase/console_scripts/ReadMe.md
97+
- 🔡 Syntax Formats: help_docs/syntax_formats.md
98+
- 🔴 Recorder Mode: help_docs/recorder_mode.md
99+
- 📗 API Reference: help_docs/method_summary.md
100+
- Python Setup / Install:
101+
- 🐍 Get Python, pip, & git: help_docs/install_python_pip_git.md
102+
- ⚙️ Virtualenv Instructions: help_docs/virtualenv_instructions.md
103+
- 🏄 Install SeleniumBase: help_docs/install.md
104+
- 👁️ How it Works: help_docs/how_it_works.md
105+
- JS Manager / JS Tools:
106+
- 🕹️ Package Manager: help_docs/js_package_manager.md
107+
- 🎦 Demo Mode: help_docs/demo_mode.md
108+
- 🚎 Tour Maker: examples/tour_examples/ReadMe.md
109+
- 🛂 Dialog Boxes: examples/dialog_boxes/ReadMe.md
110+
- 📶 Chart Maker: help_docs/chart_maker.md
111+
- 🎞️ Presentation Maker: examples/presenter/ReadMe.md
116112
- Integrations:
117-
- Mobile Testing: help_docs/mobile_testing.md
118-
- GitHub CI: integrations/github/workflows/ReadMe.md
119-
- Visual Testing: examples/visual_testing/ReadMe.md
120-
- Selenium Grid: seleniumbase/utilities/selenium_grid/ReadMe.md
121-
- HighCharts: examples/chart_maker/ReadMe.md
122-
- MasterQA: examples/master_qa/ReadMe.md
123-
- Azure Pipelines: integrations/azure/azure_pipelines/ReadMe.md
124-
- Jenkins on Azure: integrations/azure/jenkins/ReadMe.md
125-
- Jenkins on Google Cloud: integrations/google_cloud/ReadMe.md
126-
- NodeJS Test Runner: https://github.com/seleniumbase/SeleniumBase/tree/master/integrations/node_js
127-
- Help Docs:
128-
- Table of Contents: help_docs/ReadMe.md
129-
- JS Package Manager: help_docs/js_package_manager.md
130-
- Master QA Hybrid Mode: seleniumbase/masterqa/ReadMe.md
131-
- Decorators / Security: seleniumbase/common/ReadMe.md
132-
- Desired Capabilities: help_docs/desired_capabilities.md
133-
- Docker Start Guide: integrations/docker/ReadMe.md
134-
- Using Safari Driver: help_docs/using_safari_driver.md
135-
- Shadow DOM Support: help_docs/shadow_dom.md
136-
- The HTML Inspector: help_docs/html_inspector.md
137-
- macOS Hidden Files: help_docs/hidden_files_info.md
138-
- MySQL Instructions: help_docs/mysql_installation.md
139-
- Useful grep commands: help_docs/useful_grep_commands.md
113+
- 📱 Mobile Testing: help_docs/mobile_testing.md
114+
- 🤖 GitHub CI: integrations/github/workflows/ReadMe.md
115+
- 🗂️ Case Plans: help_docs/case_plans.md
116+
- 🖼️ Visual Testing: examples/visual_testing/ReadMe.md
117+
- 🔎 The HTML Inspector: help_docs/html_inspector.md
118+
- 🌐 Selenium Grid: seleniumbase/utilities/selenium_grid/ReadMe.md
119+
- 📶 HighCharts: examples/chart_maker/ReadMe.md
120+
- 🛂 MasterQA: examples/master_qa/ReadMe.md
121+
- 🤖 Azure Pipelines: integrations/azure/azure_pipelines/ReadMe.md
122+
- 🤖 Jenkins on Azure: integrations/azure/jenkins/ReadMe.md
123+
- 🤖 Jenkins on Google Cloud: integrations/google_cloud/ReadMe.md
124+
- 🤖 NodeJS Test Runner: https://github.com/seleniumbase/SeleniumBase/tree/master/integrations/node_js
125+
- Presentations:
126+
- Presenter Demo: https://seleniumbase.io/other/presenter.html
127+
- Core Presentation: https://seleniumbase.io/other/core_presentation.html
128+
- Chart Maker Demo: https://seleniumbase.io/other/chart_presentation.html
129+
- Python Virtual Envs: https://seleniumbase.io/other/py_virtual_envs.html
140130
- Demo Pages:
141131
- Demo Page (Test Page): https://seleniumbase.io/demo_page
142132
- MFA Login (Test App): https://seleniumbase.io/realworld/login
@@ -157,11 +147,27 @@ nav:
157147
- Canvas Test Page One: https://seleniumbase.io/canvas/
158148
- Canvas Test Page Two: https://seleniumbase.io/other/canvas
159149
- Shadow DOM/Root Page: https://seleniumbase.io/other/shadow_dom
160-
- Presentations:
161-
- Presenter Demo: https://seleniumbase.io/other/presenter.html
162-
- Core Presentation: https://seleniumbase.io/other/core_presentation.html
163-
- Chart Maker Demo: https://seleniumbase.io/other/chart_presentation.html
164-
- Python Virtual Envs: https://seleniumbase.io/other/py_virtual_envs.html
150+
- Additional Help Docs:
151+
- Table of Contents: help_docs/ReadMe.md
152+
- Decorators / Security: seleniumbase/common/ReadMe.md
153+
- Desired Capabilities: help_docs/desired_capabilities.md
154+
- Docker Start Guide: integrations/docker/ReadMe.md
155+
- Using Safari Driver: help_docs/using_safari_driver.md
156+
- Shadow DOM Support: help_docs/shadow_dom.md
157+
- macOS Hidden Files: help_docs/hidden_files_info.md
158+
- MySQL Instructions: help_docs/mysql_installation.md
159+
- Master QA Hybrid Mode: seleniumbase/masterqa/ReadMe.md
160+
- Case Plans (examples): examples/case_summary.md
161+
- Useful grep commands: help_docs/useful_grep_commands.md
162+
- WebDriver Installation: help_docs/webdriver_installation.md
163+
- Verifying WebDriver: help_docs/verify_webdriver.md
164+
- Behave-BDD Integration:
165+
- Behave-BDD ReadMe: examples/behave_bdd/ReadMe.md
166+
- Behave-BDD GUI App: help_docs/behave_gui.md
167+
- Languages:
168+
- Translations: help_docs/translations.md
169+
- Chinese Docs: help_docs/chinese.md
170+
- Locale Codes: help_docs/locale_codes.md
165171
- Other:
166172
- YouTube Link: https://www.youtube.com/playlist?list=PLp9uKicxkBc5UIlGi2BuE3aWC7JyXpD3m
167173
- Case Studies: help_docs/happy_customers.md

mkdocs_build/prepare.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,14 @@ def main(*args, **kwargs):
7575
files_to_process = ["README.md"]
7676
scanned_dir_list = []
7777
scanned_dir_list.append("help_docs")
78+
scanned_dir_list.append("examples")
7879
scanned_dir_list.append("examples/example_logs")
7980
scanned_dir_list.append("examples/presenter")
8081
scanned_dir_list.append("examples/chart_maker")
8182
scanned_dir_list.append("examples/tour_examples")
8283
scanned_dir_list.append("examples/visual_testing")
8384
scanned_dir_list.append("integrations/google_cloud")
85+
scanned_dir_list.append("seleniumbase/console_scripts")
8486
for scanned_dir in scanned_dir_list:
8587
for dir_ in os.listdir(ROOT_DIR / scanned_dir):
8688
files_to_process.append(os.path.join(scanned_dir, dir_))
@@ -122,6 +124,16 @@ def main(*args, **kwargs):
122124
if ' href="' in line and '.md"' in line:
123125
changed = True
124126
line = line.replace('.md"', '/"')
127+
if "<!-- Hide TOC -->" in line:
128+
changed = True
129+
new_lines = []
130+
new_lines.append("---")
131+
new_lines.append("hide:")
132+
new_lines.append(" - toc")
133+
new_lines.append("---")
134+
for line in new_lines:
135+
seleniumbase_lines.append(line)
136+
continue
125137
if "<!-- View on GitHub -->" in line:
126138
changed = True
127139
line = (

mkdocs_build/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ livereload==2.6.3
88
joblib==1.2.0
99
Markdown==3.3.7
1010
MarkupSafe==2.1.1
11-
keyring==23.9.3
11+
keyring==23.10.0
1212
pkginfo==1.8.3
1313
Jinja2==3.1.2
1414
click==8.1.3
@@ -29,7 +29,7 @@ cssselect2==0.7.0
2929
tinycss2==1.2.1
3030
defusedxml==0.7.1
3131
mkdocs==1.4.2
32-
mkdocs-material==8.5.7
32+
mkdocs-material==8.5.8
3333
mkdocs-exclude-search==0.6.4
3434
mkdocs-simple-hooks==0.1.5
3535
mkdocs-material-extensions==1.1

0 commit comments

Comments
 (0)