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

Опубликовано: 25 Январь 2022
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн Basic setup and introduction of mkdocs and gitlab in VScode for Github or Gitlab using SSH or HTTPS длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Adam Harris 25 Январь 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 4,149 раз и оно понравилось 28 зрителям. Приятного просмотра!