New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to publish on gh pages #83
Comments
Well I can't see index.html file here: https://github.com/vikramvi/AppiumSerenityPOC/tree/gh-pages About generated documentation you can access it here: About pushing to gh-pages I am using maven-scm-plugin as described here: http://gist.asciidoctor.org/?fp-46yImsm4KUYJydq2noeJrL&source-highlighter=prettify In your case if you want to generate index.html in root of GH-PAGES a possible configuration would be:
It will generate docs in /target/cukedoctor dir as in image below: Then you can use scm-plugin to push target/cukedoctor folder to GH-PAGES:
|
I've tried as per above but couldn't see index.html getting generated. Does index.html gets generated automatically as part of script ? Below is the log [INFO] Generating living documentation for 1 feature(s)... Please clarify if I'm missing something ? |
the generated file is based on outputFileName attribute, please change
TO
ps: updated my comment above. |
ok even I thought so :) Q1 ) I'm wondering in case I've multiple features files which generate numerous respective html files. How will they be connected to index.html ? Q2 ) Ideally all documentation should be accessible from single entry point. please clarify this |
Hi, For Q2 it is not supported at the moment due to asciidoctor (the lib used to generate documentation) limitation, we could implement In cukedoctor but decided to wait for native support in asciidoctor. |
Thanks a ton @rmpestano I will continue discovering your amazing library and get back with issues/suggestions. |
Just fyi.. for now I'm publishing html manually as don't want to put & commit git id , pwd accidently. https://srackham.wordpress.com/2014/12/14/publishing-a-project-website-to-github-pages/ http://stackoverflow.com/questions/5533050/gitignore-exclude-folder-but-include-specific-subfolder |
Hi @vikramvi, you can encrypt user and password using travis ruby gem. |
Thank you for the feedback 👍 |
With cukedoctor I got folder structure as per screenshot.
I have pushed these to gh pages as per http://blog.teamtreehouse.com/using-github-pages-to-host-your-website
https://github.com/vikramvi/AppiumSerenityPOC/tree/gh-pages
but when I visit https://vikramvi.github.io/AppiumSerenityPOC/ , getting 404 saying index.html is missing.
please clarify how to fix this ?
The text was updated successfully, but these errors were encountered: