Change --site_path
default value to match the actual path.
This did not match the URL we ended up using for MediaPipe, so needs to be set correctly in order to generate docs that match the real site. This change sets the default to be correct. PiperOrigin-RevId: 494874789
This commit is contained in:
parent
37d2e36960
commit
3f66dde8fd
|
@ -44,14 +44,14 @@ _OUTPUT_DIR = flags.DEFINE_string(
|
||||||
|
|
||||||
_URL_PREFIX = flags.DEFINE_string(
|
_URL_PREFIX = flags.DEFINE_string(
|
||||||
'code_url_prefix',
|
'code_url_prefix',
|
||||||
'https://github.com/google/mediapipe/tree/master/mediapipe',
|
'https://github.com/google/mediapipe/blob/master/mediapipe',
|
||||||
'The url prefix for links to code.')
|
'The url prefix for links to code.')
|
||||||
|
|
||||||
_SEARCH_HINTS = flags.DEFINE_bool(
|
_SEARCH_HINTS = flags.DEFINE_bool(
|
||||||
'search_hints', True,
|
'search_hints', True,
|
||||||
'Include metadata search hints in the generated files')
|
'Include metadata search hints in the generated files')
|
||||||
|
|
||||||
_SITE_PATH = flags.DEFINE_string('site_path', '/mediapipe/api_docs/python',
|
_SITE_PATH = flags.DEFINE_string('site_path', '/mediapipe/api/solutions/python',
|
||||||
'Path prefix in the _toc.yaml')
|
'Path prefix in the _toc.yaml')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user