-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_notes.txt
More file actions
50 lines (35 loc) · 1.17 KB
/
setup_notes.txt
File metadata and controls
50 lines (35 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Create virtual environment
python3 -m venv RBPGuide
# Activate new environment
source RBPGuide/bin/activate
which python3
# list installed python dependencies/packages
pip freeze > requirements.txt
# Install python dependencies
pip install -r requirements.txt
# Serve site locally
mkdocs serve
#specify IP and port
#mkdocs serve -a 127.0.0.1:8001
# Build site for remote
mkdocs build
# Publish manually https://squidfunk.github.io/mkdocs-material/publishing-your-site/?h=publish
# Build documentation and deploy it to a branch gh-pages in your repository.
# This does not push the source
mkdocs gh-deploy --force
# push source to main branch
git push -u origin main
#==================================================
# check spelling an grammar
# print to pdf and import to GDocs/other and check
# check links
# see checklinks.sh
# remove site header about under construction
# edit / remove docs/overrides/main.html
# Admonitions guidelines:
# All "!!! info/tip/note" should have text to summarize
# !!! abstract "Overview"
# !!! success "Takeaways"
# optimize image sizes/formats for web rendering / speed
# mkdocs setup examples
# https://roadie.io/docs/details/techdocs/