Like to connect to githubhttps://3c-lxa.mail.com/mail/mobile/messagedetail;jsessionid=8CE34AED31EEE23B8E6D22C62C9227FF-n1.lxa15a?266&folderId=tfol1437ff3f00d99aa0&paging=99&mailId=1585991523228462372&mailIndex=2960https://login.yahoo.com/account/challenge/yak-code?src=noSrc&intl=us&specId=yidReg&done=https%3A%2F%2Flogin.yahoo.com%2Faccount%2Fpersonalinfo%3Fsrc%3DnoSrc&nr=1&login=Scottdaniel&authMechanism=primary&display=narrow&sessionIndex=Qg--&acrumb=j1k0t7nEhttps://login.yahoo.com/account/challenge/yak-code?src=noSrc&intl=us&specId=yidReg&done=https%3A%2F%2Flogin.yahoo.com%2Faccount%2Fpersonalinfo%3Fsrc%3DnoSrc&nr=1&login=Scottdaniel&authMechanism=primary&display=narrow&sessionIndex=Qg--&acrumb=j1k0t7nEhttps://login.yahoo.com/account/challenge/yak-code?src=noSrc&intl=us&specId=yidReg&done=https%3A%2F%2Flogin.yahoo.com%2Faccount%2Fpersonalinfo%3Fsrc%3DnoSrc&nr=1&login=Scottdaniel&authMechanism=primary&display=narrow&sessionIndex=Qg--&acrumb=j1k0t7nEhttps://login.yahoo.com/account/challenge/yak-code?src=noSrc&intl=us&specId=yidReg&done=https%3A%2F%2Flogin.yahoo.com%2Faccount%2Fpersonalinfo%3Fsrc%3DnoSrc&nr=1&login=Scottdaniel&authMechanism=primary&display=narrow&sessionIndex=Qg--&acrumb=j1k0t7nEhttps://3c-lxa.mail.com/mail/mobile/messagedetail;jsessionid=8CE34AED31EEE23B8E6D22C62C9227FF-n1.lxa15a?266&folderId=tfol1437ff3f00d99aa0&paging=99&mailId=1585991523228462372&mailIndex=2960
Sent from my Metro By T-Mobile 4G LTE Android Device ________________________________ From: [email protected] <[email protected]> on behalf of Komiya Takeshi <[email protected]> Sent: Friday, June 5, 2020 9:00:59 AM To: [email protected] <[email protected]> Subject: Re: [sphinx-users] Warning message after sphinx upgrade Hi, Since python3, \u has been considered as unicode-escape sequence. So you need to escape it like '\\usepackage<file://\\usepackage>'. > 'preamble': '\usepackage{kotex}', FYI: The raw string also helps you (ex. r'\usepackage{kotex}' ). Thanks, Takeshi KOMIYA 2020年6月5日(金) 17:12 Jalba sung <[email protected]>: > > Hi, > > I've been using sphinx v1.7.6 and recently upgraded to v3.0.3 > > I used conda install to upgrade. > After this when I run 'make html' or 'make latexpdf' I get follwing mesage > > Running Sphinx v3.0.3 > WARNING: Support for evaluating Python 2 syntax is deprecated and will be > removed in Sphinx 4.0. Convert > /Users/Him2/Documents/My_files/sphinx/source/conf.py to Python 3 syntax. > loading translations [ko]... done > loading pickled environment... done > > below is my conf.py > > project = 'Manual' > copyright = '' > author = '' > version = '1.0' > release = 'beta' > > > # -- General configuration --------------------------------------------------- > extensions = [ > 'sphinx.ext.viewcode', > 'sphinx.ext.githubpages', > ] > > templates_path = ['_templates'] > > source_suffix = '.rst' > > master_doc = 'index' > language = None > exclude_patterns = [] > > # The name of the Pygments (syntax highlighting) style to use. > pygments_style = 'sphinx' > > > # -- Options for HTML output ------------------------------------------------- > html_theme = 'alabaster' > > html_static_path = ['_static'] > > # Custom sidebar templates, must be a dictionary that maps document names > # to template names. > # > # The default sidebars (for documents that don't match any pattern) are > # defined by theme itself. Builtin themes are using these templates by > # default: ``['localtoc.html', 'relations.html', 'sourcelink.html', > # 'searchbox.html']``. > # > # html_sidebars = {} > > > # -- Options for HTMLHelp output --------------------------------------------- > > # Output file base name for HTML help builder. > htmlhelp_basename = 'Manualdoc' > > > # -- Options for LaTeX output ------------------------------------------------ > latex_engine = 'xelatex' > latex_elements = { > # The paper size ('letterpaper' or 'a4paper'). > 'papersize': 'a4paper', > > # The font size ('10pt', '11pt' or '12pt'). > 'pointsize': '12pt', > > # Additional stuff for the LaTeX preamble. > 'preamble': '\usepackage{kotex}', > > # Latex figure (float) alignment > 'figure_align': 'htbp', > > # kotex config > 'figure_align': 'htbp', > } > > # Grouping the document tree into LaTeX files. List of tuples > # (source start file, target name, title, > # author, documentclass [howto, manual, or own class]). > latex_documents = [ > (master_doc, 'Manual.tex', 'Manual Documentation', > '', 'manual'), > ] > > > # -- Options for manual page output ------------------------------------------ > > # One entry per manual page. List of tuples > # (source start file, name, description, authors, manual section). > man_pages = [ > (master_doc, 'manual', 'Manual Documentation', > [author], 1) > ] > > > # -- Options for Texinfo output ---------------------------------------------- > > # Grouping the document tree into Texinfo files. List of tuples > # (source start file, target name, title, author, > # dir menu entry, description, category) > texinfo_documents = [ > (master_doc, 'Manual', 'Manual Documentation', > author, 'Manual', 'One line description of project.', > 'Miscellaneous'), > ] > > > # -- Options for Epub output ------------------------------------------------- > > # Bibliographic Dublin Core info. > epub_title = project > epub_author = author > epub_publisher = author > epub_copyright = copyright > > # The unique identifier of the text. This can be a ISBN number > # or the project homepage. > # > # epub_identifier = '' > > # A unique identification for the text. > # > # epub_uid = '' > > # A list of files that should not be packed into the epub file. > epub_exclude_files = ['search.html'] > > # -- Extension configuration ------------------------------------------------- > locale_dirs = ['locale/'] #path is example but recommended > gettext_compact = False > > # -- option for PDF output --------------------------------------------------- > pdf_documents = [('index', u'rst2pdf', u'Sample rst2pdf doc', u'Your Name'),] > > > What do I need to change to have the Warning message diappear? > Thank you > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sphinx-users/93a12793-c2d4-489e-8799-5b246698db88o%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/CAFmkQANtgPf2ogxPVzUV8wmxmX44WgAiSYLO_YpFnohCA80Zow%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/DM6PR07MB7324E39F3347B5A2D575942EA1800%40DM6PR07MB7324.namprd07.prod.outlook.com.
