Skip to content

nicoalba/docsite-apis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MkDocs sample docsite (GitHub Pages)

This project showcases a static docsite generated with MkDocs, including an OpenAPI spec I create from scratch, and API docs generated with Redocly, all served with GitHub pages.

Tech stack

  • MkDocs: A static site generator geared towards project documentation.
  • GitHub Pages: A free hosting service for static websites provided by GitHub.

Features

  • Clean and simple theme for documentation.
  • Automatically generated navigation and search functionality.
  • Lightweight and fast for viewing project documentation.

Live demo

The live version of the site is available at: https://nicoalba.github.io/sample-docsite-pages/.

Running locally

Prerequisites

Before running the project locally, make sure you've installed:

  1. Python 3: You need Python 3 to run MkDocs. Download and install Python 3 from python.org.

  2. MkDocs: Install MkDocs using pip (Python's package manager):

    pip install mkdocs

Steps to run locally

  1. Clone the repository to your local machine:

    git clone https://github.com/your-username/your-repo-name.git
  2. Navigate to the project folder and cd into the project directory where the mkdocs.yml file is located:

    cd your-repo-name
  3. Install dependencies (if necessary).

    If you're using additional extensions or themes for MkDocs, make sure they're installed:

    pip install -r requirements.txt

    If you don't have a requirements.txt file, you can skip this step.

  4. To preview your site locally:

    mkdocs serve
  5. Open your web browser and go to http://127.0.0.1:8000/ to view your documentation locally.

About

Sample static docsite generated with MkDocs, including an OpeniAPI spec I create from scratch, API docs generated with Redocly, and served with GitHub pages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors