• Home
  • Raw
  • Download

Lines Matching +full:version +full:- +full:major

1 # -*- coding: utf-8 -*-
4 # sphinx-quickstart on Fri Feb 12 13:51:46 2016.
21 # ------
31 # Get Sphinx version
32 major, minor, patch = sphinx.version_info[:3] variable
38 if (major < 2) or (major == 2 and minor < 4):
47 # -- General configuration ------------------------------------------------
49 # If your documentation needs a minimal Sphinx version, state it here.
60 if major >= 3:
61 if (major > 3) or (minor > 0 or patch >= 2):
153 load_imgmath = (load_imgmath or (major == 1 and minor < 8)
171 #source_encoding = 'utf-8-sig'
181 # The version info for the project you're documenting, acts as replacement for
182 # |version| and |release|, also used in various other places throughout the
185 # In a normal build, version and release are are set to KERNELVERSION and
196 if key == 'VERSION':
206 version = release = makefile_version + '.' + makefile_patchlevel variable
208 version = release = "unknown version" variable
211 # HACK: there seems to be no easy way for us to get at the version and
213 # command-line options and find it for ourselves.
218 if arg.startswith('version='):
224 return c_version + '-' + c_release
226 return version # Whatever we came up with before
236 # non-false value, then it is used:
249 # If true, '()' will be appended to :func: etc. cross-reference text.
275 # -- Options for HTML output ----------------------------------------------
309 # Add color-specific RTD normal mode
313 'navigation_depth': -1,
325 if major <= 1 and minor < 8:
348 html_static_path = ['sphinx-static']
351 # to typographically correct entities. However, conversion of "--" to "—"
357 html_sidebars = { '**': ['searchbox.html', 'kernel-toc.html', 'sourcelink.html']}
370 # -- Options for LaTeX output ---------------------------------------------
382 # Don't mangle with UTF-8 chars
399 # For CJK One-half spacing, need to be in front of hyperref
404 % Use some font with UTF-8 support with XeLaTeX
413 if major == 1:
420 \\input{kerneldoc-preamble.sty}
486 'sphinx/kerneldoc-preamble.sty',
490 # -- Options for manual page output ---------------------------------------
503 # -- Options for Texinfo output -------------------------------------------
514 # -- Options for Epub output ----------------------------------------------
534 # multiple PDF files here actually tries to get the cross-referencing right
537 ('kernel-documentation', u'Kernel', u'Kernel', u'J. Random Bozo'),
540 # kernel-doc extension configuration for running Sphinx directly (e.g. by Read
543 kerneldoc_bin = '../scripts/kernel-doc'
546 # ------------------------------------------------------------------------------
549 # ------------------------------------------------------------------------------