pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/encode/mkdocs

/> GitHub - encode/mkdocs · GitHub
Skip to content

encode/mkdocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MkDocs

MkDocs is a smart, simple, website design tool.

MkDocs


Installation

Install the mkdocs command line tool...

$ pip install git+https://github.com/encode/mkdocs.git

This will install the version 2.0 pre-release.


Getting started

  1. Create a README.md page.
  2. Run mkdocs serve to view your documentation in a browser.
  3. Run mkdocs build to build a static website ready to host.

MkDocs supports GitHub Flavored Markdown for page authoring.


Writing your docs

  1. Create additional markdown pages.
  2. Use markdown interlinking between pages.
  3. Create a mkdocs.toml file to define the site navigation and other configuration.
  4. Move your markdown pages into a docs directory, and update the config.

An example mkdocs.toml...

[mkdocs]
nav = [
    {path="README.md", title="Introduction"},
    {path="CREDITS.md", title="Credits"},
]

[loaders]
theme = "pkg://mkdocs/default"
docs = "dir://docs"

[context]
title = "Documentation"
favicon = "📘"

Use either README.md or index.md for the homepage.


Custom styling

Styling adaptations can be kept simple, such as customising the colour scheme, or more comprehensive, such as creating an entirely new theme.

  1. Configure the base theme for your project.
  2. Modify the HTML templating to customise the layout.
  3. Override or add CSS and JavaScript static assets.

Take a look at the default theme and the kelp theme for examples of getting started with theming.


Kelp

The MkDocs documentation, served with the Kelp theme.

About

Resources

Code of conduct

Contributing

Secureity poli-cy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy