Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

tinkerbell/tinkerbell-docs

Repository files navigation

Important

The docs content of this repo have been moved into https://github.com/tinkerbell/tinkerbell.org, please see that repo for further updates.

Tinkerbell Docs

This is the source repo for the Tinkerbell docs. They are build using static-site generator MkDocs and using the mkdocs-material theme, then served by netlify to docs.tinkerbell.org.

Development

This repository uses MkDocs as the documentation framework and Poetry to manage it's dependencies. Make sure to have Python installed. If you wish, you can install mkdocs and other dependencies to build the docs locally by running the following commands

poetry install
poetry run mkdocs serve

If you wish to work within a development environment you can use Poetry's virtualenv environment:

$ poetry install
$ poetry shell

To deactivate the virtual environment, simply run deactivate.

Contributing to the Tinkerbell Docs

All the markdown source files for the documentation are in the docs/ folder. Find the file that you want to update and edit it. Then open a Pull Request with your changes. Make sure that the build passes, and take a look at the netlify preview to see your changes staged on the website.

Page metadata

Currently the metadata for the page is yaml formatted, with two fields: title and date. If you edit a doc, update the date to when you made your edits.

Adding Images

All the images for the docs are in the images/ folder. To pull the image into your doc, use a relative link to the image file. Example:

![Architecture]

Adding a page

If you would like to submit a new page to the documentation, be sure to add it to the nav section in mkdocs.yml. This will ensure that the page appears in the table of contents.