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

Pubblicato il: 25 gennaio 2022
sul canale di: 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


In questa pagina del sito puoi guardare il video online Basic setup and introduction of mkdocs and gitlab in VScode for Github or Gitlab using SSH or HTTPS della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Adam Harris 25 gennaio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 4,149 volte e gli è piaciuto 28 spettatori. Buona visione!