Skip to content

Latest commit

 

History

History
92 lines (67 loc) · 3.92 KB

File metadata and controls

92 lines (67 loc) · 3.92 KB

Hands On Workshops: How To

RST

Atom Plugins

OS Packages

Execute

  • Setup:

    # git forked upstream https://github.com/jncox/calmbootcamp
    ghq clone mlavi/calmbootcamp
    ghq-look calmbootcamp
    pipenv--three install sphinx sphinxcontrib-fulltoc sphinx-bootstrap-theme sphinx_fontawesome
    git checkout -B hybridcloudeng
    
  • Author:

    ghq-look calmbootcamp
    git checkout hybridcloudeng
    pipenv shell
    
    sphinx-build . _build
    URL=_build/index.html ; firefox $URL || brave-browser $URL ; echo $URL
    
    sphinx-build . _build && firefox $_/index.html || brave-browser $_/index.html
    
    
  • _build/index.html

  • cd calm_marketplace/images; for i in ls 510*png; do git mv $i 5.10/${i:3} ; done

  • pipenv install --dev watchdog

    • https://github.com/gorakhargosh/watchdog

      watchmedo shell-command --pattern='Vagrantfile;*rb' --command='vagrant provision; echo' --recursive
      
      PAGE=x watchmedo shell-command --pattern='*.md' --command='landslide --relative --embed --quiet $PAGE.md --destination $PAGE.html' --recursive &
      
      set PAGE filename ; watchmedo shell-command --pattern='*.md' --command='landslide --relative --embed --quiet $PAGE.md \
       --destination $PAGE.html' --recursive &
      
      watchmedo shell-command --pattern="*.md" --command="landslide --relative --embed --quiet devops-demystified.md --destination devops-demystified.html" &
      
    • watchmedo shell-command --help

    watchmedo shell-command --wait --recursive --ignore-patterns='_build' --patterns='*rst'
    --command='clear; date; _FI=${watch_src_path}; echo "-- $_FI" ; make clean && make html && firefox file:pwd/_build/html/${_FI%%rst}html' &

Content Bugs

#. ncox: calm_day2/calm_day2.rst:19: WARNING: undefined label: taskman (if the link has no caption the label must precede a section header) #. ncox: calm_marketplace/calm_marketplace.rst:219: WARNING: image file not readable: calm_marketplace/images/5.10/marketplace_p2_12.png

Content Warnings