Comments (5)
I also had this same issue on macOS 12.4, Python3.10 and mkdocs-click version 0.8.0.
Fixed it with a double newline at the end.
from mkdocs-click.
I think part of the issue is that h1 is set as the CLI's name. Can you try :depth: 1
or removing header?
from mkdocs-click.
Hey @ofek. Sure! Here are a few of the variations I've attempted based on your suggestion
- Changing the h1 label (just to
test
in this case), one space at the end of the file, with and without:depth: 1
tag - Removing the header, one space at the end of the file, with and without
:depth: 1
tag
None of those work, however, they all work if there are two spaces at the end of the file.
EDIT: I can also add, the issue was identical for me in two different environments, one arch linux and the other macOS.
Double edit: It also works with a newline + space or newline + tab.
from mkdocs-click.
I can confirm the issue.
I thought something was misconfigured, but then I found this issue and thought I'd try it out. For me a single newline with no extra characters fixes the problem.
from mkdocs-click.
I also ran into this issue, if it is required (it is really okay that it is) ideally there would be a check for this at build time (or a note in the README). I spent a fair amount of time banging my head against a wall to find out why I couldn't get my docs to generate.
Python 3.11, Ubuntu 22.04, mkdocs-click = "^0.8.0"
from mkdocs-click.
Related Issues (20)
- Add to mkdocs wiki plugin overview HOT 1
- Multi-command modules not display correctly
- mkdocs serve command fails can't find module specified in :module: attribute HOT 6
- Is it possible to disable the repetition of --help option for every command? HOT 1
- Context/Options not being picked up with multi-commands
- Add option to exclude `hidden` commands, options and groups HOT 3
- Specify subcommands HOT 2
- Support for language-agnostic documentation HOT 2
- `remove_ascii_art` option doesn't work HOT 1
- Escape markdown special characters
- Respect clicks docstring `\b` and `\f` markers
- Generate the CLI documentation without first having to install the Python package
- Can't set up - getting `ModuleNotFoundError` HOT 1
- No output generated at all HOT 2
- Project Status HOT 7
- Indented ::: mkdocs-click blocks are not picked up
- Conflicts with front matter HOT 2
- Option to remove the top level header for the root command
- Option to append to inventory file with directives for cross-referencing? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mkdocs-click.