- Run
mkdocs new project_name. - Open that folder by
cd project_name. - Make a new GitHub repo.
- Copy new Git repo instructions (the first one).
- Run it in the project root folder.
- Run
echo "site/" >> .gitignore. - Run
gcap 'NEW Project' (gcap` = Git Commit All Push — My personal workflow alias). - Run
mkdocs serve
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Project Variables. | |
| module.exports = { | |
| viewSrc: './views/**/*.pug', | |
| viewDst: './', | |
| styleSrc: './css/style.scss', | |
| styleDst: './', | |
| outputStyle: 'compressed', | |
| viewWatchFiles: './views/**/*.pug', | |
| styleWatchFiles: './css/**/*.scss', | |
| browserAutoOpen: false, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -L https://git.io/pudlgfl -o "gulpfile.js" && curl -L https://git.io/pudlpkjs -o "package.json" && curl -L https://git.io/pudlgig -o ".gitignore" && curl -L https://git.io/pudlcg -o "config.js" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| node -v | |
| # Make sure you have Node >= 8 installed. | |
| npm -v | |
| # Make sure you have npm >= 5.3 installed. |
NewerOlder