Basic setup and introduction of mkdocs and gitlab in VScode for Github or Gitlab using SSH or HTTPS

Veröffentlicht am: 25 Januar 2022
auf dem Kanal: Adam Harris
4,149
28

Below I have pasted the commands you will need so you can copy/paste them.

Open terminal in VScode from your project folder.

cd into the directory of your repo if you aren't already there.

pip install mkdocs-material

pip3 install mkdocs-git-revision-date-localized-plugin

cd .. #goes to one directory above the current one

mkdocs new site #creates a new mkdocs website

cd site # move back into the current repository

mkdocs serve #See the local copy of the webpage

Edit your mkdocs.yaml file to list your name, and URL, etc. You can also change the theme colors if you'd like. Check out how to customize your theme: https://squidfunk.github.io/mkdocs-ma...

See here for how to add pages to your site: https://www.mkdocs.org/user-guide/wri...

Save your files.

Push these to the remote repo (gitlab site)
git add # stage changed files
git commit -m "Describe changes in this commit"
git push


Auf dieser Seite können Sie das Online-Video Basic setup and introduction of mkdocs and gitlab in VScode for Github or Gitlab using SSH or HTTPS mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Adam Harris 25 Januar 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,149 Mal angesehen und es wurde von 28 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!