Questions tagged [mkdocs-material]
27 questions
0
votes
1 answer
How can I protect a GitHub branch and allow only GitHub actions to push to it and no one else?
I am writing a GitHub workflow where I am building documentation from the main branch docstrings and pushing it to gh-pages and having GitHub pages deploy off of gh-pages branch. How can I protect that branch so that only GitHub branches can push to…

AugustusCaesar
- 175
- 2
- 14
0
votes
1 answer
How to customize MkDocs Material CSS?
I have GH pages with MkDocs set up, using the Material theme. For whatever reason, I'm unable to customize the CSS as described in the documentation.
I have nothing to go by troubleshooting-wise as I get no errors when running mkdocs locally. The…

Balint
- 1
0
votes
0 answers
Support to ISO-8859-1 on Mkdocs
I'm using Mkdocs to build my project documentation, but when I try to use mkdocs serve or mkdocs build i'm getting encoding errors on my index.md file.
There is a way to change supported encoding?

Juliano Oliveira
- 868
- 1
- 9
- 29
0
votes
2 answers
Why are code snippets uncopyable when using "mkdocs build"?
Why code snippets can be copied when running "mkdocs serve" with the mkdocs-material theme, but not when using "mkdocs build"?
Using mkdocs serve is resulting in:
Using mkdocs build there is no "copied" button:
How can I enable copying of code…

wavty
- 191
- 2
- 5
0
votes
1 answer
Mkdocs: On blog-style site, how do I make Next button go to chronologically next topic?
I've set up an mkdocs site using the Material theme where my topics are in reverse chronological order - that is, the most recent is at the top of the nav set.
Unfortunately this means my Next and Prev buttons take you to the prev-in-time and…

oceanclub
- 477
- 1
- 4
- 13
0
votes
1 answer
Light and Dark Mode Not Working on MKDocs. the icon is missing, how to show it?
Yesterday I'm successfully add light and dark mode scheme on MkDocs-material
When I tried to add auto match with system preferences when I click to auto, the icon is missing. So I delete the code for auto and everything is working fine.
Today, I'm…

Angelica Deviana
- 1
- 1
0
votes
0 answers
Mkdocs-material: Open an overlay office form to send text from a negative feedback
In material theme for mkdocs, is possible to set a analytics widget to get feedback from users, like this:
`extra:
analytics:
feedback:
title: Was this page helpful?
ratings:
- icon: material/emoticon-happy-outline
…

Marlony Gabriel
- 11
- 2
0
votes
0 answers
Mkdocs plugin usage in md file
Basically I have created a plugin for myself and imported in the mkdocs.yaml file. I can use that plugin function in the html file using jinja2. More i want to use that jinja function in markdown file itself. Is there any possibility
I tried using…
0
votes
0 answers
MKDocs Colspan in Table
I am trying to use colspan in a table in mkdocs
When I set the table up, with the same about of cells per row in the row that has the colspan, the table renders, but I have empty cells to the right:
| | | | Version …

Ronny vdb
- 2,324
- 5
- 32
- 74
0
votes
1 answer
Material for mkdocs collapse and expand table of contents
I want this:readthedocs
Instead of this: material
I haven't seen anything that would help with this in the material for mkdocs nav setup

Arkya
- 1
0
votes
0 answers
mkdocs build output includes all files when it should not
I am using material-mkdocs. It has been working great for a single site. I would now like to generate two different sites based on the same content, just selectively picking what content is in each site by customising the nav: in the mkdocs config…

James
- 815
- 1
- 13
- 24