Setup
Now that you have Python and pip installed, the next step is to install MkDocs. Follow the steps below.
- Type this command in your terminal or command prompt:
pip install mkdocs
Confirm the complete MkDocs installation by typing this command:
mkdocs --version
- Create a new folder for your project on your desktop.
- Right-click on the newly created folder and choose 'Show more options'.
- Click 'Open with Code' to open your VSCode.
- Click on the terminal and select 'New Terminal'.
- Create a new MkDocs project by typing in the command below in the opened terminal.
mkdocs new my-project // ‘my-project’ can be any name
- Navigate to your new project folder by typing the following command:
cd my-project