Chromium Code Reviews| Index: net/docs/README.txt |
| diff --git a/net/docs/README.txt b/net/docs/README.txt |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..16b99a9ae297b7f8a84488a7afd1ebbe2e97eaa4 |
| --- /dev/null |
| +++ b/net/docs/README.txt |
| @@ -0,0 +1,20 @@ |
| +To generate the output HTML from an input markdown file on Unix |
| +machines, execute the command: |
| + |
| + PYTHONPATH=../../third_party python -m markdown -f <output>.html <input>.md |
| + |
| +On Windows machines, execute: |
| + |
| + set PYTHONPATH=..\..\third_party |
| + python -m markdown -f <output>.html <input>.md |
| + |
| +(This command line assumes that the net/docs directory is the current |
| +directory; if that's not the case, adjust the path to src/third_party |
| +to be accurate from whatever directory the command is executed from.) |
| + |
| +The diagrams included in the network stack documentation were |
| +generated with Graphviz, and both source (.dot) and output (.svg) are |
| +included in the repository. If graphviz is installed, the output may |
| +be regenerated from the source via: |
| + |
| + dot dot -Tsvg <name>.dot > <name>.svg |
|
eroman
2016/04/06 17:41:17
nit: this is indented more than the other command
Randy Smith (Not in Mondays)
2016/04/06 20:57:54
Done.
|