Assumes you already have a sphinx project installed and a project created
make html
By default this command will build documentation to
_build/html
| # Convert DOT graph data into a terminal-ready visualization | |
| function idot { | |
| dot \ | |
| -Tpng -Gdpi=300 \ | |
| -Efontsize=18 -Efontname=sans -Nfontname=sans \ | |
| -Gbgcolor=black -Gcolor=white -Ecolor=white -Efontcolor=white -Ncolor=white -Nfontcolor=white \ | |
| | convert -trim -bordercolor black -border 20 -transparent black -resize "60%" - - \ | |
| | imgcat # Or swap with your favorite terminal image viewer | |
| } |
| function rectCollide() { | |
| var nodes,sizes,masses; | |
| var strength = 1; | |
| var iterations = 1; | |
| var nodeCenterX; | |
| var nodeMass; | |
| var nodeCenterY; | |
| function force() { |
| // This script takes an iTerm Color Profile as an argument and translates it for use with Visual Studio Code's built-in terminal. | |
| // | |
| // usage: `node iterm-colors-to-vscode.js [path-to-iterm-profile.json] | |
| // | |
| // To export an iTerm Color Profile: | |
| // 1) Open iTerm | |
| // 2) Go to Preferences -> Profiles -> Colors | |
| // 3) Other Actions -> Save Profile as JSON | |
| // | |
| // To generate the applicable color settings and use them in VS Code: |
Assumes you already have a sphinx project installed and a project created
make html
By default this command will build documentation to
_build/html