Skip to content

dyne/mkdocs-dyne-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dyne.org theme for software webpages made in mkdocs

For information about the base system see https://mkdocs.org

This theme uses Bulma and provides basic styling for our projects.

Example websites:

Usage

Usage requires mkdocs (python) and zsh: apt install zsh mkdocs.

Step by step notes on basic usage scenarios follow: initialize, update and deploy.

Initialize

  1. make a website directory in your project and enter it

  2. clone this repo

git clone https://github.com/dyne/mkdocs-dyne-theme
  1. run ./mkdocs-dyne-theme/.init (please note the dot! .init)

  2. edit the configuration file mkdocs.yml with the right project settings

  3. edit the contents in docs/README.md

  4. link the README in the project's root, i.e: ln -s website/docs/README.md .

  5. commit and push the changes to your project

Preview the webpage

Run ./mkdocs-dyne-theme/.preview and open http://localhost:8000

Deploy the webpage

Run ./mkdocs-dyne-theme/.deploy (please note the dot! .deploy) to create a branch gh-pages and upload the page.

Go to https://dyne.github.io/project-name to see it.

Setup project-name.dyne.org

Contact a sysadmin to setup project-name.dyne.org, then place the domain name inside website/docs/CNAME i.e: echo project-name.dyne.org > website/docs/CNAME.

Commit and push the new CNAME file to your project.

Update the theme

Run ./mkdocs-dyne-theme/.update (please note the dot! .update) to actualize the theme to its latest version.

Commit and push the changes to your project.

Keep in mind that this theme is not a submodule of your project, it is copied inside it.

Configuration

Example configuration:

site_name: RedRoom
site_url: https://decodeproject.github.io/RedRoom
repo_url: https://github.com/decodeproject/redroom
site_author: Jaromil
site_description: RedRoom is powered by the Zenroom crypto VM to bring easy to use yet advanced cryptographic functionalities for Redis.
copyright: Copyright (C) 2019 by the <a href="https://dyne.org">Dyne.org foundation</a>. The source code is licensed <a href="https://www.gnu.org/licenses/agpl-3.0.en.html">AGPLv3</a>.

extra:
  basename: redroom
  links:
    releases: https://files.dyne.org/redroom
    docker: https://hub.docker.com/r/dyne/redroom
	quickstart: https://github.com/decodeproject/redroom/wiki
	forum: https://lists.dyne.org
  drift_handle: s64nd7w43g53
  nav:
    subtitle: Redis powered by Zenroom
    logo: null # /img/redroom-trans.png
    og_image_large: /img/redroom-trans.png


plugins: []

extra_css:
  - //fonts.googleapis.com/css?family=Montserrat&display=swap
  - css/custom.css

markdown_extensions:
  - admonition
  - codehilite

theme:
  name: null
  custom_dir: 'mkdocs-dyne-theme/'

Acknowledgement

This plugin is licensed AGPLv3.

It is maintained by Jaromil and Puria

About

A mkdocs theme for dyne.org software webpages

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published