mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 00:56:31 +08:00
Cleaning, explicit API index
Change-Id: Icf55ae0f3277037f242b1cf8124d6e0570bcd515
This commit is contained in:
1 parent
83e31d5dcb
commit
30ebd05a9b
12 files changed
+8
-15
No files matched your search
@@ -260,6 +260,9 @@ if (UNIX)
|
||||
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
|
||||
endif()
|
||||
|
||||
set(CYTHON_EMBED_SIGNATURES ON)
|
||||
set(CYTHON_NO_DOCSTRINGS OFF)
|
||||
|
||||
set(CYTHON_EXTENSIONS
|
||||
array
|
||||
config
|
||||
|
||||
@@ -64,7 +64,7 @@ set( CYTHON_NO_DOCSTRINGS OFF
|
||||
CACHE BOOL "Strip docstrings from the compiled module." )
|
||||
set( CYTHON_FLAGS "" CACHE STRING
|
||||
"Extra flags to the cython compiler." )
|
||||
mark_as_advanced( CYTHON_ANNOTATE CYTHON_NO_DOCSTRINGS CYTHON_FLAGS )
|
||||
mark_as_advanced( CYTHON_ANNOTATE CYTHON_NO_DOCSTRINGS CYTHON_FLAGS CYTHON_EMBED_SIGNATURES)
|
||||
|
||||
find_package( Cython REQUIRED )
|
||||
find_package( PythonLibsNew REQUIRED )
|
||||
@@ -131,7 +131,8 @@ function( compile_pyx _name pyx_target_name generated_files pyx_file)
|
||||
# Add the command to run the compiler.
|
||||
add_custom_target(${pyx_target_name}
|
||||
COMMAND ${CYTHON_EXECUTABLE} ${cxx_arg} ${include_directory_arg}
|
||||
${annotate_arg} ${no_docstrings_arg} ${cython_debug_arg} ${CYTHON_FLAGS}
|
||||
${annotate_arg} ${no_docstrings_arg} ${cython_debug_arg}
|
||||
${CYTHON_FLAGS}
|
||||
--output-file "${_name}.${extension}" ${pyx_location}
|
||||
DEPENDS ${pyx_location}
|
||||
# do not specify byproducts for now since they don't work with the older
|
||||
|
||||
+2
-2
@@ -22,9 +22,9 @@ BUILDDIR = _build
|
||||
# Internal variables.
|
||||
PAPEROPT_a4 = -D latex_paper_size=a4
|
||||
PAPEROPT_letter = -D latex_paper_size=letter
|
||||
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
||||
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
|
||||
# the i18n builder cannot share the environment and doctrees with the others
|
||||
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
|
||||
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
|
||||
|
||||
.PHONY: help
|
||||
help:
|
||||
|
||||
File renamed without changes.
@@ -29,19 +29,8 @@ import inspect
|
||||
import os
|
||||
import sys
|
||||
|
||||
from sphinx import apidoc
|
||||
|
||||
import sphinx_rtd_theme
|
||||
|
||||
|
||||
__location__ = os.path.join(os.getcwd(), os.path.dirname(
|
||||
inspect.getfile(inspect.currentframe())))
|
||||
output_dir = os.path.join(__location__)
|
||||
module_dir = os.path.join(__location__, "..", "pyarrow")
|
||||
cmd_line_template = "sphinx-apidoc -f -e -o {outputdir} {moduledir}"
|
||||
cmd_line = cmd_line_template.format(outputdir=output_dir, moduledir=module_dir)
|
||||
apidoc.main(cmd_line.split(" "))
|
||||
|
||||
on_rtd = os.environ.get('READTHEDOCS') == 'True'
|
||||
|
||||
if not on_rtd:
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user