| OLD | NEW |
| (Empty) |
| 1 To generate the output HTML from an input markdown file on Unix | |
| 2 machines, execute the command: | |
| 3 | |
| 4 PYTHONPATH=../../third_party python -m markdown -f <output>.html <input>.md | |
| 5 | |
| 6 On Windows machines, execute: | |
| 7 | |
| 8 set PYTHONPATH=..\..\third_party | |
| 9 python -m markdown -f <output>.html <input>.md | |
| 10 | |
| 11 (This command line assumes that the net/docs directory is the current | |
| 12 directory; if that's not the case, adjust the path to src/third_party | |
| 13 to be accurate from whatever directory the command is executed from.) | |
| 14 | |
| 15 The diagrams included in the network stack documentation were | |
| 16 generated with Graphviz, and both source (.dot) and output (.svg) are | |
| 17 included in the repository. If graphviz is installed, the output may | |
| 18 be regenerated from the source via: | |
| 19 | |
| 20 dot dot -Tsvg <name>.dot > <name>.svg | |
| OLD | NEW |