Publish docs via GitHub Pages failed

194 Views Asked by At

Today I want to add a new page to my Github page. My repo worked well before. But when I add a new directory lsy/README.md to docs. Error shows. It just says Error reading page 'lsy/README.md': no such group. I cannot understand why. I added some config to mkdocs.yml. In fact, even I don't add the config to mkdocs.yml, the error shows the same. Any help?

The action log is here

1

There are 1 best solutions below

1
On

You can use the mkdocs-exlclude plugin and setup the configuration inside the mkdocs.yml file as:

plugins:
  - exclude:
      glob:
        - lsy/README.md