Description
Iv'e tried to override base.html as per the instructions but all I get is:
AttributeError: 'Theme' object has no attribute 'name'
Expected behavior
It should just work.
Actual behavior
AttributeError: 'Theme' object has no attribute 'name'
Steps to reproduce the bug
- Add a custom_dir to the mkdocs.yml
- Create the directory specified in custom_dir
- Copy base.html from material theme source to custom dir
- Modify base.html
- Build or Serve
Package versions
- Python: 3.7.4
- MkDocs: 1.0.4
- Material: 4.4.0
Project configuration
site_name: xxxxx
nav:
- Welcome: index.md
- Setup: setup.md
- Documents: docs.md
- Data: data.md
- Agent: agent.md
- About: about.md
theme:
name: 'material'
custom_dir: 'theme'
palette:
primary: 'lime'
accent: 'amber'
font:
text: 'Roboto'
code: 'Roboto Mono'
favicon: 'images/favicon.ico'
extra_css:
- 'styles/extra.css'
#extra_javascript:
# - 'scripts/startup.js'
use_directory_urls: false
site_dir: ../../../src/xxx/src/help
System information
- OS: Windows 10
- Browser: Chrome
Description
Iv'e tried to override base.html as per the instructions but all I get is:
Expected behavior
It should just work.
Actual behavior
Steps to reproduce the bug
Package versions
Project configuration
System information