gdSc@sdZddlZddlZddlZddlmZddlmZddlmZddl m Z ddl m Z m Z mZeje dZd Zejdkred 7Znd efdYZdS(s sphinx.config ~~~~~~~~~~~~~ Build configuration file handling. :copyright: Copyright 2007-2014 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. iN(tpath(t ConfigError(tl_(t make_filename(tbytestbt execfile_s [\x80-\xff]s6There is a syntax error in your configuration file: %siis+ Did you change the syntax from 2.x to 3.x?tConfigcBseZdZeddddddddd dd dd dd gdfd ddddddgdfdgdfdgdfdgdfdddedfdedfdedfdedfdddddgdfd dd!edfd"gdfd#dd$dd%edfd&dd(dd)edfd*gdfd+dd-gdfd.idfd/d0dfd1d2dfd3dd4dd5dd6gdfd7gdfd8dd9edfd:dd;idfd<idfd=edfd>edfd?ddAedfdBedfdCedfdDedfdEddFddGddHedfdIedfdJidfdKddMedfdNddPddQidfdRddSdTdfdUdVdfdWdXdfdYdZdfd[dd]idfd^d_dfd`ddbdcdfddddedfdfdgddhddiddjddkddlgdfdmgdfdngdfdoddqedfdrddsedfdtddvddxdydfdzd{dfd|dd}gdfd~edfdedfdedfdddedfdddddidfdgdfdidfdddddddddfdedfdddfdgdfdidfdedfdddedfdgdfdddddedfdedfdedf{ZdZdZ dZ dZ dZ dZ dZdZRS(s) Configuration file abstraction. tprojecttPythontenvt copyrighttthtmltversiontreleasettodayt today_fmttlanguaget locale_dirst master_doctcontentst source_suffixs.rsttsource_encodings utf-8-sigtexclude_patternst unused_docst exclude_treestexclude_dirnamest default_roletadd_function_parenthesestadd_module_namesttrim_footnote_reference_spacet show_authorstpygments_stylethighlight_languagetpythonttemplates_pathttemplate_bridget keep_warningstmodindex_common_prefixt rst_epilogt rst_prologttrim_doctest_flagstprimary_domaintpyt needs_sphinxtnitpickytnitpick_ignoret html_themetdefaultthtml_theme_paththtml_theme_optionst html_titlecCstd|j|jfS(Ns%s %s documentation(RRR(tself((s7/usr/local/lib/python2.7/site-packages/sphinx/config.pytQs thtml_short_titlecCs|jS(N(R4(R5((s7/usr/local/lib/python2.7/site-packages/sphinx/config.pyR6Tst html_stylet html_logot html_faviconthtml_static_paththtml_extra_paththtml_last_updated_fmtthtml_use_smartypantsthtml_translator_classt html_sidebarsthtml_additional_pagesthtml_use_modindexthtml_domain_indicesthtml_add_permalinksu¶thtml_use_indexthtml_split_indexthtml_copy_sourcethtml_show_sourcelinkthtml_use_opensearchthtml_file_suffixthtml_link_suffixthtml_show_copyrightthtml_show_sphinxt html_contextthtml_output_encodingsutf-8thtml_compact_liststhtml_secnumber_suffixs. thtml_search_languagethtml_search_optionsthtml_search_scorerthtmlhelp_basenamecCs t|jS(N(RR(R5((s7/usr/local/lib/python2.7/site-packages/sphinx/config.pyR6ustqthelp_basenamecCs t|jS(N(RR(R5((s7/usr/local/lib/python2.7/site-packages/sphinx/config.pyR6xstdevhelp_basenamecCs t|jS(N(RR(R5((s7/usr/local/lib/python2.7/site-packages/sphinx/config.pyR6{st epub_basenamecCs t|jS(N(RR(R5((s7/usr/local/lib/python2.7/site-packages/sphinx/config.pyR6~st epub_themetepubtepub_theme_optionst epub_titlecCs|jS(N(R4(R5((s7/usr/local/lib/python2.7/site-packages/sphinx/config.pyR6st epub_authortunknownt epub_languagecCs |jp dS(Nten(R(R5((s7/usr/local/lib/python2.7/site-packages/sphinx/config.pyR6stepub_publishertepub_copyrightcCs|jS(N(R (R5((s7/usr/local/lib/python2.7/site-packages/sphinx/config.pyR6stepub_identifiert epub_schemetepub_uidt epub_covert epub_guidetepub_pre_filestepub_post_filestepub_exclude_filest epub_tocdepthit epub_tocdupt epub_tocscopetepub_fix_imagestepub_max_image_widthitepub_show_urlstinlinetepub_use_indexcCs|jS(N(RE(R5((s7/usr/local/lib/python2.7/site-packages/sphinx/config.pyR6stlatex_documentscCs)|jt|jd|jddfgS(Ns.texR tmanual(RRR(R5((s7/usr/local/lib/python2.7/site-packages/sphinx/config.pyR6st latex_logotlatex_appendicestlatex_use_partstlatex_use_modindextlatex_domain_indicestlatex_show_urlstnotlatex_show_pagerefstlatex_paper_sizetlettertlatex_font_sizet10pttlatex_elementstlatex_additional_filestlatex_docclasstlatex_preamblettext_sectioncharss*=-~"+`t text_newlinestunixt man_pagescCs8|jt|jjd|j|jfgdfgS(Ns%s %si(RRRtlowerR(R5((s7/usr/local/lib/python2.7/site-packages/sphinx/config.pyR6st man_show_urlsttexinfo_documentscCsG|jt|jj|jdt|jdt|jdfgS(NR sThe %s reference manual.R (RRRR(R5((s7/usr/local/lib/python2.7/site-packages/sphinx/config.pyR6s    ttexinfo_appendicesttexinfo_elementsttexinfo_domain_indicesttexinfo_show_urlstfootnotettexinfo_no_detailmenutlinkcheck_ignoretlinkcheck_timeouttlinkcheck_workersitlinkcheck_anchorstgettext_compacttgettextt xml_prettyc Cs||_tjj|_i}d|kr>|d|d s