Skip to content

Commit f0955f1

Browse files
authored
GH-41108: [Docs] Remove Sphinx pin (#47326)
### Rationale for this change Sphinx has been pinned for a while and it is safe to remove the pin now. ### What changes are included in this PR? Sphinx pin is removed and some minor changes to `exclude_patterns` and an external link are added to reduce couple of build warnings. ### Are these changes tested? Yes, with CI. The docs build should succeed and the preview build should be run. ### Are there any user-facing changes? No. * GitHub Issue: #41108 Authored-by: AlenkaF <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
1 parent 7360515 commit f0955f1

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

ci/conda_env_sphinx.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ sphinx-copybutton
3333
sphinx-lint
3434
sphinxcontrib-jquery
3535
sphinxcontrib-mermaid
36-
sphinx==6.2
36+
sphinx
3737
pytest-cython
3838
pandas

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ sphinx-copybutton
1414
sphinx-design
1515
sphinx-lint
1616
sphinxcontrib-mermaid
17-
sphinx==6.2
17+
sphinx
1818
pandas

docs/source/conf.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,9 @@
273273
# List of patterns, relative to source directory, that match files and
274274
# directories to ignore when looking for source files.
275275
# This patterns also effect to html_static_path and html_extra_path
276-
exclude_patterns = exclude_patterns + ['_build', 'Thumbs.db', '.DS_Store']
276+
exclude_patterns = exclude_patterns + ['_build', 'Thumbs.db', '.DS_Store',
277+
'developers/cpp/img/async.md',
278+
'**/README.md',]
277279

278280
# The reST default role (used for this markup: `text`) to use for all
279281
# documents.

docs/source/implementations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ The source files for the Cookbook are maintained in the
114114
C# <https://github.com/apache/arrow/blob/main/csharp/README.md>
115115
Go <https://arrow.apache.org/go/>
116116
Java <java/index>
117-
JavaScript <https://arrow.apache.org/docs/js>
117+
JavaScript <https://arrow.apache.org/js/current/>
118118
Julia <https://arrow.apache.org/julia/>
119119
MATLAB <https://github.com/apache/arrow/blob/main/matlab/README.md>
120120
Python <python/index>

0 commit comments

Comments
 (0)