GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - openssl/openssl-docs: docs.openssl.org website generator

BranchesTags
Open more actions menu

Latest commit

 

History

94 Commits
94 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
overrides/partials
overrides/partials
 
 
scaffold
scaffold
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
Containerfile
Containerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.py
build.py
 
 
code_language.py
code_language.py
 
 
hooks.py
hooks.py
 
 
mkdocs.yml
mkdocs.yml
 
 
requirements.in
requirements.in
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Deploy site

docs.openssl.org

The OpenSSL Documentation website is based on Material for MkDocs and this repository contains the required configuration files and build scripts. docs.openssl.org is hosted on GitHub Pages.

Deployment

The website is automatically rebuilt on changes in doc directory of openssl/openssl. Then a new commit is pushed to gh-pages branch which triggers pages-build-deployment GitHub Actions workflow.

To deploy documentation website manually trigger Deploy site GitHub Actions workflow.

Local development

All required dependencies are packed into a container image ghcr.io/openssl/openssl-docs, built from the Containerfile by the Build and deploy container image GitHub Actions workflow. To start playing around you can spin up a container and run commands:

  1. Clone the repository:

    git clone https://github.com/openssl/openssl-docs.git
  2. Run the container:

    podman run -it -v $(pwd)/openssl-docs:/mnt -w /mnt -p 8000:8000 --userns=keep-id ghcr.io/openssl/openssl-docs:latest bash
  3. Build the docs:

    python build.py <OPENSSL BRANCH>
  4. Run the development web server:

    mike serve -a 0.0.0.0:8000

build.py

A small wrapper script to clone a specific OpenSSL branch and build a documentation website with mike. Run it to build the website:

python build.py <OPENSSL BRANCH>

mike puts generated content into a separate branch gh-pages. Please refer mike documentation for the details.

hooks.py

All pre- and post- processing is done via MkDocs hooks. Please refer MkDocs documentation for the details.

References

  • MkDocs
  • Material for MkDocs
  • mike

About

docs.openssl.org website generator

docs.openssl.org/

Topics

documentationmkdocsopenssl

Resources

Readme
Apache-2.0 license

Security policy

Security policy
Activity
Custom properties

Stars

11 stars

Watchers

20 watching

Forks

10 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.