Logo
Explore Help
Sign In
IntenseWebs/sphinx
3
0
Fork 0
You've already forked sphinx
mirror of https://github.com/sphinx-doc/sphinx.git synced 2025-02-25 18:55:22 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
0949735210abaa05b6448e531984f159403053f4
sphinx/tests/roots/test-prolog/conf.py

11 lines
177 B
Python
Raw Normal View History

Fix #2445: `rst_prolog` and `rst_epilog` affect to non reST sources
2016-05-25 19:58:15 +09:00
import os
import sys
Sort imports with isort Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip.
2020-11-11 12:00:27 +01:00
Fix #2445: `rst_prolog` and `rst_epilog` affect to non reST sources
2016-05-25 19:58:15 +09:00
sys.path.insert(0, os.path.abspath('.'))
extensions = ['prolog_markdown_parser']
Add testcase for rst_prolog and rst_epilog
2016-05-25 12:06:49 +09:00
rst_prolog = '*Hello world*.\n\n'
rst_epilog = '\n\n*Good-bye world*.'
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 42ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API