Skip to content
Snippets Groups Projects
Commit 6a67fea1 authored by Bienchen's avatar Bienchen
Browse files

Update the info on calling the documentation make.py script./

parent 5e0eddce
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import os, sys, re import os, sys, re
import shutil import shutil
from ost import settings
from optparse import OptionParser from optparse import OptionParser
import subprocess import subprocess
from sphinx.application import Sphinx from sphinx.application import Sphinx
...@@ -68,7 +67,7 @@ def _CollectRstDocs(outdir, dirname, fnames): ...@@ -68,7 +67,7 @@ def _CollectRstDocs(outdir, dirname, fnames):
_CreateAndCopy(img_name, outdir) _CreateAndCopy(img_name, outdir)
def ParseArgs(): def ParseArgs():
parser = OptionParser("usage: ost make.py [options] ") parser = OptionParser("usage: python make.py [options] ")
parser.add_option("-l","--linkcheck", action="store_true", default=False, dest="linkcheck", help="validate all external links") parser.add_option("-l","--linkcheck", action="store_true", default=False, dest="linkcheck", help="validate all external links")
parser.add_option("-b", "--build-html", action="store_true", parser.add_option("-b", "--build-html", action="store_true",
default=False, dest="html", help="build html documentation") default=False, dest="html", help="build html documentation")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment