Skip to content

Commit

Permalink
[docs] New configuration of docs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
zuo committed Dec 3, 2021
1 parent 0e63269 commit 6562410
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .n6-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0
3.0.1a1
15 changes: 13 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
version: 2

build:
os: "ubuntu-20.04"
tools:
python: "3.9"

mkdocs:
configuration: mkdocs.yml
fail_on_warning: false
configuration: mkdocs.yml
fail_on_warning: false

python:
install:
- requirements: docs/requirements.txt

1 change: 1 addition & 0 deletions docs/n6_logo.png
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
mkdocs==1.2.3
mkdocs-material==8.0.3

17 changes: 16 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,21 @@ nav:
- API:
- Stream API: guides/api/streamapi.md

theme: readthedocs
theme:
name: material
palette:
scheme: default
primary: white
accent: deep purple
logo: n6_logo.png
features:
- navigation.indexes
- navigation.sections
- navigation.top
markdown_extensions:
- admonition
- smarty
- toc:
title: "This document's sections"
permalink: true
toc_depth: 2
Binary file added n6_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6562410

Please sign in to comment.