peterjc / mediawiki_to_git_md

Convert a MediaWiki export XML file into MarkDown as a series of git commits
MIT License
55 stars 17 forks source link

Update README.rst #25

Closed huacayacauh closed 7 years ago

huacayacauh commented 7 years ago

Just a name consistence between two commands.

peterjc commented 7 years ago

Thanks - and I hope the script is useful to you.

huacayacauh commented 7 years ago

Your code is great, thanks! now I am fighting with github-pages: my local jekyll works well with the result of convert.py but when I push everything github-pages indicates a vague "build error" (my projet website is in the docs/ folder of the repo).

I don't know if you are interested, let me just say a word in case you have time to read and maybe know this error:

Thanks again!

Best, Kévin

Le 2017-05-03 22:05, Peter Cock a écrit :

Thanks - and I hope the script is useful to you.

-- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [1], or mute the thread [2].

*

Links:

[1] https://github.com/peterjc/mediawiki_to_git_md/pull/25#issuecomment-299019863 [2] https://github.com/notifications/unsubscribe-auth/AIPXw5ZQZV_8cY6oVropSCIDLzuw65hQks5r2N3sgaJpZM4NP29o

peterjc commented 7 years ago

I think _layout is a typo, it probably should be _layouts, I'll fix that.

When I last had trouble with GitHub Pages builds failing, it was due to them having updated Jekyll and it behaved differently to the version I was using. So I'd start by checking your local setup versions against theirs.

See also e.g. https://github.com/biopython/biopython.github.io/blob/master/.travis.yml where I'm using TravisCI to try to mimic the GitHub Pages build, using as close a setup to that documented via https://github.com/biopython/biopython.github.io/blob/master/Gemfile - the point here is to get more logging about why it fails compared to the minimal email from GitHub Pages, not to actually use the TravisCI output directly in any way.

Unfortunately I am not a Jekyll expert and getting my own pages working took a fair amount of trial and error.

huacayacauh commented 7 years ago

Thanks for your comments and pointers

Le 2017-05-04 11:27, Peter Cock a écrit :

I think _layout is a typo, it probably should be _layouts, I'll fix that.

When I last had trouble with GitHub Pages builds failing, it was due to them having updated Jekyll and it behaved differently to the version I was using. So I'd start by checking your local setup versions against theirs.

See also e.g. https://github.com/biopython/biopython.github.io/blob/master/.travis.yml where I'm using TravisCI to try to mimic the GitHub Pages build, using as close a setup to that documented via https://github.com/biopython/biopython.github.io/blob/master/Gemfile - the point here is to get more logging about why it fails compared to the minimal email from GitHub Pages, not to actually use the TravisCI output directly in any way.

Unfortunately I am not a Jekyll expert and getting my own pages working took a fair amount of trial and error.

Links:

[1] https://github.com/peterjc/mediawiki_to_git_md/pull/25#issuecomment-299136804 [2] https://github.com/notifications/unsubscribe-auth/AIPXwyrXLSbnPpvWIxdoClMLLg0ANxHiks5r2ZnqgaJpZM4NP29o

peterjc commented 7 years ago

Also empty templates is probably not going to work, with 05fce8f6ba3525c9050905e91bfc1033c017e30a I've added links to real examples.

huacayacauh commented 7 years ago

Great, it works \o/ Again: many thanks!

Le 2017-05-04 12:23, Peter Cock a écrit :

Also empty templates is probably not going to work, with 05fce8f [1] I've added links to real examples.

-- You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [2], or mute the thread [3].

*

Links:

[1] https://github.com/peterjc/mediawiki_to_git_md/commit/05fce8f6ba3525c9050905e91bfc1033c017e30a [2] https://github.com/peterjc/mediawiki_to_git_md/pull/25#issuecomment-299147894 [3] https://github.com/notifications/unsubscribe-auth/AIPXwwL-ZY7Knio74oqoJd2TlHrBF0uQks5r2ac6gaJpZM4NP29o

peterjc commented 7 years ago

Oh good :)