Skip to content

How to make this site

Get fabacademy-student-template


% cd repos/
% git clone fa2022_kannai_site
% ls
% cd fa2022_kannai_site
% ls
$ pip install -r requirements.txt

Try Other colors

% cd fa2022_kannai_site
% ls       mkdocs.yml
docs            requirements.txt
% nano mkdocs.yml


# add
  - stylesheets/extra.css

  name: material

# comment out
    # try other colors
    #primary: deep
    #accent: red

% cd docs/
% nano stylesheets/extra.css
:root {
  --md-primary-fg-color:        #5B9BAF;
  --md-primary-fg-color--light: #5B9BAF;
  --md-primary-fg-color--dark:  #5B9BAF;

  --md-accent-fg-color: #5B9BAF;
  --md-accent-bg-color: #5B9BAF;

Change remote repo

This is instructions from fabcloud

Push an existing Git repository
cd existing_repo
git remote rename origin old-origin
git remote add origin
git push -u origin --all
git push -u origin --tags

% cd fa2022_kannai_site
% git remote -v
origin (fetch)
origin (push)

% git remote rename origin old-origin
% git remote -v                      
old-origin (fetch)
old-origin (push)

% git remote add origin

% git remote -v  
old-origin (fetch)
old-origin (push)
origin (fetch)
origin (push)

% git push -u origin --all
Enumerating objects: 195, done.
Counting objects: 100% (195/195), done.
Delta compression using up to 4 threads
Compressing objects: 100% (79/79), done.
Writing objects: 100% (195/195), 410.64 KiB | 58.66 MiB/s, done.
Total 195 (delta 104), reused 195 (delta 104)
remote: Resolving deltas: 100% (104/104), done.
 * [new branch]      master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.

% git push -u origin --tags
Everything up-to-date


% git add .
% git commit -m "first push"
% git push

Last update: January 28, 2022