Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Add ignore suggestions to pelicanconf.py setup #103

Merged
merged 1 commit into from
Oct 14, 2018

Conversation

nayyarv
Copy link
Contributor

@nayyarv nayyarv commented Oct 14, 2018

I was creating my jupyter notebooks directly in the content dir and was getting an error since the pelican processor would see both the checkpoints and the ipynb files which would have identical metdata and be rather confused.

WARNING: There are 2 items with slug "tosser" with lang en:
  | /Users/varun/Documents/github/nayyarv.github.io/content/Tosser.ipynb
  | /Users/varun/Documents/github/nayyarv.github.io/content/.ipynb_checkpoints/Tosser-checkpoint.ipynb
WARNING: There are 2 original (not translated) items with slug "tosser":
  | /Users/varun/Documents/github/nayyarv.github.io/content/Tosser.ipynb
  | /Users/varun/Documents/github/nayyarv.github.io/content/.ipynb_checkpoints/Tosser-checkpoint.ipynb
CRITICAL: RuntimeError: File /Users/varun/Documents/github/nayyarv.github.io/output/tosser.html is to be overwritten
make: *** [html] Error 1

I think it might not be a bad idea to include an ignore section in your doc as well so people like me are sorted from the get go!

@danielfrg danielfrg merged commit f58e124 into danielfrg:master Oct 14, 2018
@danielfrg
Copy link
Owner

Thanks for the PRs!

@nayyarv
Copy link
Contributor Author

nayyarv commented Oct 14, 2018

Haha nw, this was the fastest a PR of mine has ever been merged! Glad to help, code is super easy to read and understand, so it was no trouble whatsoever and it's useful to boot too!

@nayyarv nayyarv deleted the varun/docsuggest branch October 14, 2018 07:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants