mirror of
https://github.com/vale981/ablog
synced 2025-03-06 01:31:39 -05:00
Checking if pickling on rtd is fine.
This commit is contained in:
parent
81da7a63dd
commit
763ab12eb0
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ def process_posts(app, doctree):
|
|||
environment."""
|
||||
|
||||
env = app.builder.env
|
||||
if os.environ.get('READTHEDOCS', None):
|
||||
if os.environ.get('READTHEDOCS', None) and 0:
|
||||
env.topickle = lambda *args: env.warn('index',
|
||||
'Building on Read The Docs, environment is not being pickled.')
|
||||
if not hasattr(env, 'ablog_posts'):
|
||||
|
|
Loading…
Add table
Reference in a new issue