Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# -*- coding: utf-8 -*- 

2""" 

3@file 

4@brief Defines different a set of sphinx themes. 

5""" 

6import sys 

7from ..installhelper.module_install import ModuleInstall 

8 

9 

10def sphinx_theme_set(): 

11 """ 

12 list of sphinx themes, it requires the modules in set *small* 

13 """ 

14 mod = [ 

15 ModuleInstall( 

16 'sphinxjp.themes.basicstrap', 'pip', purpose="sphinx theme", usage="SPHINX"), 

17 ModuleInstall('sphinxjp.themecore', 'pip', 

18 purpose="A sphinx theme plugin extension.", usage="SPHINX"), 

19 ModuleInstall('solar_theme', 'pip', 

20 purpose="sphinx theme", usage="SPHINX"), 

21 ModuleInstall('cloud_sptheme', 'pip', 

22 purpose="sphinx theme", usage="SPHINX"), 

23 ModuleInstall( 

24 'sphinx_readable_theme', 'pip', purpose="sphinx theme", usage="SPHINX"), 

25 ModuleInstall( 

26 "hachibee-sphinx-theme", "pip", mname="hachibee_sphinx_theme", purpose="sphinx theme", usage="SPHINX"), 

27 ModuleInstall("wild_sphinx_theme", "pip", 

28 purpose="sphinx theme", usage="SPHINX"), 

29 ModuleInstall("sphinx_bootstrap_theme", "pip", 

30 purpose="sphinx theme", usage="SPHINX"), 

31 ModuleInstall( 

32 "sphinxjp.themes.sphinxjp", "pip", purpose="sphinx theme", usage="SPHINX"), 

33 ModuleInstall( 

34 "sphinx_py3doc_enhanced_theme", "pip", purpose="sphinx theme", usage="SPHINX") if sys.version_info[0] >= 3 else None, 

35 ModuleInstall( 

36 "sphinx-better-theme", "pip", mname="better", purpose="sphinx theme", usage="SPHINX"), 

37 ModuleInstall("guzzle_sphinx_theme", "pip", 

38 purpose="sphinx theme", usage="SPHINX"), 

39 ModuleInstall("flyingsphinx", "pip", 

40 purpose="sphinx theme", usage="SPHINX/PY2") if sys.version_info[0] == 2 else None, 

41 ModuleInstall("itcase_sphinx_theme", "pip", 

42 purpose="sphinx theme", usage="SPHINX"), 

43 ModuleInstall("sphinxtrap", "pip", 

44 purpose="sphinx theme", usage="SPHINX"), 

45 ModuleInstall("sphinxcontrib-lunrsearch", "pip", mname="sphinxcontrib.lunrsearch", 

46 purpose="simple autocompletion for the sphinx documentation", usage="SPHINX"), 

47 ModuleInstall("sphinxcontrib-imagesvg", "pip", mname="sphinxcontrib.imagesvg", 

48 purpose="support svg in Sphinx", usage="SPHINX"), 

49 ModuleInstall("sphinxcontrib-jsdemo", "pip", mname="sphinxcontrib.jsdemo", 

50 purpose="to demo HTML or Javascript in Sphinx documentation", usage="SPHINX"), 

51 ModuleInstall("zerovm-sphinx-theme", "pip", mname="zerovm_sphinx_theme", 

52 purpose="sphinx theme", usage="SPHINX"), 

53 ModuleInstall("sphinx-corlab-theme", "pip", mname="sphinx_corlab_theme", 

54 purpose="sphinx theme", usage="SPHINX"), 

55 ModuleInstall("sphinxjp.themes.htmlslide", "pip", 

56 purpose="sphinx theme", usage="SPHINX"), 

57 ModuleInstall("sphinxjp.themes.gopher", "pip", 

58 purpose="sphinx theme", usage="SPHINX"), 

59 ModuleInstall("sphinx-gallery", "pip", mname="sphinx_gallery", 

60 purpose="gallery for examples", usage="SPHINX"), 

61 ModuleInstall("docrepr", "pip", 

62 purpose="docrepr renders Python docstrings in HTML", usage="SPHINX"), 

63 ModuleInstall("foundation-sphinx-theme", "pip", mname="foundation_sphinx_theme", 

64 purpose="sphinx theme", usage="SPHINX"), 

65 ModuleInstall("sphinx_theme_pd", "pip", 

66 purpose="sphinx theme", usage="SPHINX"), 

67 ModuleInstall("mdn-sphinx-theme", "pip", mname="mdn_theme", 

68 purpose="A Sphinx theme for the Mozilla Developer Network", usage="SPHINX"), 

69 ModuleInstall("sphinx-redactor-theme", "pip", mname="sphinx_redactor_theme", 

70 purpose="sphinx theme", usage="SPHINX"), 

71 ModuleInstall("sphinx-ioam-theme", "pip", mname="sphinx_ioam_theme", 

72 purpose="sphinx theme", usage="SPHINX"), 

73 ModuleInstall("sphinx-bulma-theme", "pip", mname="sphinx_bulma_theme", 

74 purpose="sphinx theme", usage="SPHINX"), 

75 ModuleInstall("yummy-sphinx-theme", "pip", mname="yummy_sphinx_theme", 

76 purpose="sphinx theme", usage="SPHINX"), 

77 ModuleInstall("sphinx-modern-theme", "pip", mname="sphinx_modern_theme", 

78 purpose="sphinx theme", usage="SPHINX"), 

79 ModuleInstall("sphinx-materialdesign-theme", "pip", mname="sphinx_materialdesign_theme", 

80 purpose="sphinx theme", usage="SPHINX"), 

81 ModuleInstall("sphinx_modern_theme_modified", "pip", 

82 purpose="sphinx theme", usage="SPHINX"), 

83 ] 

84 return [_ for _ in mod if _ is not None]