Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scratch Notes Template

This repository serves as a template for creating notes repositories with the required structure to be compatible with the uber scratch-notes repository. In this structure, multiple notes repositories can be added as submodules.

After Creating a Repository

Note

All notes and their directory structure must reside under the docs directory to ensure compatibility with the uber project and to be rendered correctly by MkDocs.

The MkDocs configuration for the repository is fully customizable. You can modify themes, plugins, and extensions to suit your preferences.

To change the name of the generated site, which defaults to "Example," follow this simple command:

SITE_NAME="My new notes site"
sed -i "/site_name: Example/c\site_name: $SITE_NAME" mkdocs.yml

MkDocs Configuration

This template includes a pre-configured mkdocs.yml file, enabling you to render this project as a standalone MkDocs site. The template uses the Material for MkDocs theme via its Docker image.

By default, the make command launches the site at:

http://0.0.0.0:8888

You can customize the port by specifying a different value for HOST_PORT:

make HOST_PORT=8080

TODO

  • Add documentation on creating a GitHub Pages site using MkDocs.
  • Provide instructions on automating the deployment of a GitHub Pages site with GitHub Actions.

About

Bash syntax and tricks

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages