Skip to content

Website for distant and associated software projects

Notifications You must be signed in to change notification settings

chipsenkbeil/distant.dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

This website uses mkdocs-material on top of mkdocs to generate itself.

pip install mkdocs-material

Insiders Edition

Note that this site currently uses the Insiders edition, which is a paid subscription. While it can be built with the normal edition of Mkdocs Material, some features will be missing or not rendered. The pipeline to re-deploy the website has access and will use the Insiders edition.

Macros Plugin

Additionally, we make use of the macros plugin, which needs to be installed separately as it is not bundled in with mkdocs-material.

pip install mkdocs-macros-plugin

Optimize Plugin

This plugin comes stock with Mkdocs Material, but we need to install pngquant alongside pillow for this to work:

# For pillow and cairosvg, pip works fine
pip install pillow cairosvg

# For pngquant, we need to use a package manager
brew install pngquant

# For cairosvg, it's also recommended to install dependencies
brew install cairo freetype libffi libjpeg libpng zlib

Mermaid2 Plugin

This plugin needs to be installed manually:

pip install mkdocs-mermaid2-plugin

We use this to support generating visuals from code-fenced mermaid.

Distant binary

Finally, we use distant to generate help docs that we display on the website. The latest version needs to be installed as described at https://distant.dev/getting-started/installation/unix/:

curl -L https://sh.distant.dev | sh

Building & serving the website

  • mkdocs build will generate the website locally
  • mkdocs serve will run a local server with the generated website

Each time a new commit is made on the website, it is re-deployed using mkdocs gh-deploy --force. You do NOT need to deploy it yourself.

About

Website for distant and associated software projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published