Skip to content

Example/Demo Page

This is the demo page provided as site creation. I'm just playing around here.

For full documentation visit mkdocs.org.

Commands

  • mkdocs new [dir-name] - Create a new project.
  • mkdocs serve - Start the live-reloading docs server.
  • mkdocs build - Build the documentation site.
  • mkdocs -h - Print help message and exit.

Project layout

mkdocs.yml    # The configuration file.
docs/
    index.md  # The documentation homepage.
    ...       # Other markdown pages, images and other files.

Code Examples

Test code. Let's test it.

helloworld.c
1
2
3
4
#include <stdio.h>
int main(int argc, char **argc) {
    printf("Hello world!");
}

😄