MkDocs - a new add-on for Home Assistant

Hello everyone,

Documenting our change in Home Assistant configuration is always a good practice.

To do so, BookStack add-on is proposed in add-ons store. I find this solution too heavy for such a small documentation. I think that MkDocs, which is a simple and efficient tool for generating documentation, is much better suited to meet my needs.

So, I looked for an MkDocs add-on but unfortunately, I didn’t find one :unamused:… so, I decided to develop it myself :thinking:.

I am pleased to present version 1.0.0 of the MkDocs add-on for Home Assistant.

logo

Installation of this add-on

To install the MkDocs add-on, you first need to add the URL of its repository to your Home Assistant instance. To do this, click the following button

Open your Home Assistant instance and display the dialog to add an add-on repository with a pre-filled repository URL.

or manually add the following repository URL in the Home Assistant add-on store:

https://github.com/XavierBerger/home-assistant-addons

Next, search for one of the add-ons in our add-on store (button below) to install them.

Open your Home Assistant instance and display the add-on store.

Editing documentation

To edit your documentation, it is recommended to use the Visual Studio Code Server add-on available in the add-on store.

You will then need to open the directory /addon_configs/18ac940c_mkdocs and edit the files it contains: mkdocs.yml for the table of contents and configuration of your documentation and the markdown files stored in the docs directory for the content.

For more information on writing your documentation, you can refer to the following guides:

For tips and advice on using this add-on, check out the Help and FAQ directly available in the add-on’s sample documentation.

Feel free to give me your feedback and comments here, this is the first public version and there are certainly things to improve.

A little demo to finish:

demo

4 Likes

Thanks for creating this and giving back to the community! I plan to check it out.

Oh yes its a great idea