-
-
Notifications
You must be signed in to change notification settings - Fork 12
Add documentation website #111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This will currently cause the link check CI to fail due to this repo and the arduino/arduino-lint-action repo being private. So merging should probably wait. But it is in a finished state ready for review. I will add the installation instructions and related links in a subsequent PR. |
3a6c1d6
to
b1ccd08
Compare
The failure of the "Lint configuration files" workflow is expected and unrelated to the changes proposed in this PR. It will be fixed by #114 |
0425586
to
fba789e
Compare
A static website containing documentation is hosted on GitHub Pages. The source is the Markdown files stored in the `docs` subfolder, as well as the CLI documentation generated by Cobra. The documentation is versioned, so the user can access the documentation associated with: - The development version (tip of the default branch). - The latest release version. - Any specific release version.
Python-Markdown extensions are used to provide additional capabilities to the documentation website generation. Because Python-Markdown is extremely faithful to the original Markdown specification, despite the fact that the world has moved on to a more capable implementation, some extensions are essential to provide the Markdown capability the documentation editors will expect. However, some additional extenstions were added to the Arduino CLI MkDocs configuration which provide syntax not supported by any Markdown implementation, and which are not needed. If we later find the pressing need for such capability, we can add in the necessary extensions. Until then, having these extensions could result in unexpected behavior.
This file is exclusive to the documentation, so there is no point in it being in the already crowded root of the repo.
Poetry is already in use for the integration testing code, so it makes sense to use it with all Python code in the repository.
fba789e
to
0f55d25
Compare
A static website containing documentation is hosted on GitHub Pages. The source is the Markdown files stored in the
docs
subfolder, as well as the CLI documentation generated by Cobra.The documentation is versioned, so the user can access the documentation associated with:
Documentation website demo: https://per1234.github.io/arduino-lint/latest/