File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 shell : bash
3434 env :
3535 ARROW_JAVA_SKIP_GIT_PLUGIN : true
36- DOCS_DEV : " 1"
3736 run : |
3837 mkdir -p build
3938 archery docker run \
Original file line number Diff line number Diff line change 328328# documentation.
329329#
330330
331- # To enable the version switcher during a local build, set the
332- # environment variable DOCS_DEV to "1".
333- docs_dev = os .environ .get ("DOCS_DEV" , "0" )
334- print (f"DOCS_DEV : { docs_dev } " )
335- json_url = "/docs/_static/versions.json"
336-
337- if docs_dev == "1" :
338- json_url = "https://arrow.apache.org/docs/_static/versions.json"
339- # json_url = "_static/versions.json"
340-
341331switcher_version = version
342332if ".dev" in version :
343333 switcher_version = "dev/"
334+ json_url = "https://arrow.apache.org/docs/_static/versions.json"
344335else :
345336 # If we are not building dev version of the docs, we are building
346337 # docs for the stable version
347338 switcher_version = ""
339+ json_url = "_static/versions.json"
348340
349341html_theme_options = {
350342 "show_toc_level" : 2 ,
Original file line number Diff line number Diff line change @@ -92,12 +92,6 @@ These two steps are mandatory and must be executed in order.
9292 not sufficiently comprehensive. Portions of the Python API documentation
9393 will also not build without CUDA support having been built.
9494
95- .. note ::
96-
97- To enable the version switcher in a local documentation build, set the
98- environment variable ``DOCS_DEV=1 `` before building, or run the build
99- command with it inline, for example: ``DOCS_DEV=1 make html ``.
100-
10195After these steps are completed, the documentation is rendered in HTML
10296format in ``arrow/docs/_build/html ``. In particular, you can point your browser
10397at ``arrow/docs/_build/html/index.html `` to read the docs and review any changes
You can’t perform that action at this time.
0 commit comments