Ticket #7477: trac_7477-docbuild.patch

File trac_7477-docbuild.patch, 1.9 KB (added by jhpalmieri, 8 years ago)
  • doc/en/reference/conf.py

    # HG changeset patch
    # User J. H. Palmieri <palmieri@math.washington.edu>
    # Date 1369861091 25200
    # Node ID 1830b4c3c530d6191d5e1bce3107f8d6f32132bb
    # Parent  db5e1061509f01d62a2b848f278c677451378940
    when building ref manual, autogenerate list of directories to build
    
    diff --git a/doc/en/reference/conf.py b/doc/en/reference/conf.py
    a b  
    6464
    6565multidocs_is_master = True
    6666
    67 # List of subdocs
    68 multidocs_subdoc_list = [
    69     'algebras',
    70     'arithgroup',
    71     'calculus',
    72     'categories',
    73     'cmd',
    74     'coding',
    75     'coercion',
    76     'combinat',
    77     'constants',
    78     'cryptography',
    79     'databases',
    80     'doctest',
    81     'finance',
    82     'finite_rings',
    83     'function_fields',
    84     'functions',
    85     'games',
    86     'geometry',
    87     'graphs',
    88     'groups',
    89     'hecke',
    90     'history_and_license',
    91     'homology',
    92     'interfaces',
    93     'lfunctions',
    94     'libs',
    95     'logic',
    96     'matrices',
    97     'misc',
    98     'modabvar',
    99     'modfrm',
    100     'modmisc',
    101     'modsym',
    102     'modules',
    103     'monoids',
    104     'notebook',
    105     'number_fields',
    106     'numerical',
    107     'padics',
    108     'parallel',
    109     'plane_curves',
    110     'plot3d',
    111     'plotting',
    112     'polynomial_rings',
    113     'power_series',
    114     'probability',
    115     'quadratic_forms',
    116     'quat_algebras',
    117     'rings',
    118     'rings_numerical',
    119     'rings_standard',
    120     'sat',
    121     'schemes',
    122     'semirings',
    123     'stats',
    124     'structure',
    125     'tensor'
    126     ]
     67# List of subdocs. Include all subdirectories of ref_src except for
     68# 'static' and 'templates'.
     69multidocs_subdoc_list = [x for x in os.listdir(ref_src) if
     70                         os.path.isdir(os.path.join(ref_src, x))
     71                         and x != 'static' and x != 'templates']
    12772
    12873# List of directories, relative to source directory, that shouldn't be
    12974# searched for source files.