You are viewing a plain text version of this content. The canonical link for it is here.
Posted to distributedlog-dev@bookkeeper.apache.org by sijie <gi...@git.apache.org> on 2016/09/13 09:06:52 UTC
[GitHub] incubator-distributedlog pull request #30: Add instructions for building web...
GitHub user sijie opened a pull request:
https://github.com/apache/incubator-distributedlog/pull/30
Add instructions for building website and documentation
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sijie/incubator-distributedlog sijie/add_instructions_for_building_website
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-distributedlog/pull/30.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #30
----
commit d0981cd8872e183eeb57df1bd5444df0a4c6ced4
Author: Sijie Guo <si...@twitter.com>
Date: 2016-09-13T08:44:09Z
Add instructions for building website and documentation
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-distributedlog issue #30: Add instructions for building website an...
Posted by leighst <gi...@git.apache.org>.
Github user leighst commented on the issue:
https://github.com/apache/incubator-distributedlog/pull/30
lgtm
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-distributedlog pull request #30: Add instructions for building web...
Posted by sijie <gi...@git.apache.org>.
Github user sijie commented on a diff in the pull request:
https://github.com/apache/incubator-distributedlog/pull/30#discussion_r83162115
--- Diff: docs/README.md ---
@@ -0,0 +1,85 @@
+This README gives an overview of how to build and contribute to the documentation of Apache DistributedLog.
+
+The documentation is included with the source of Apache DistributedLog in order to ensure that you always
+have docs corresponding to your checked out version. The online documentation at
+http://distributedlog.incubator.apache.org/docs/latest is also generated from the files found at master branch.
+
+# Requirements
+
+The dependencies are declared in the Gemfile in this directory. We use [reStructuredText](http://docutils.sourceforge.net/rst.html)
+to write and [Jekyll](https://jekyllrb.com/) and [jekyll-rst](https://github.com/xdissent/jekyll-rst) to translate the documentation to static HTML.
+You can use Ruby's Bundler Gem to install all the depenencies for building the documentation:
+
+ gem install bundler
+ bundle install
+
+And use [pip](https://pypi.python.org/pypi/pip) to install docutils and pygments
+
+ pip install docutils pygments
+
+# Build
+
+## Live developement
+
+While you are working with the documentation, you can test and develop live. Run the following in the root folder of the `docs`:
+
+ $ bundle exec jekyll serve
+
+Jekyll will start a webserver on port `4000`. As you make changes to the content, Jekyll will rebuild it automatically.
+This is helpful if you want to see how your changes will render in realtime.
+
+## Generating the static website
+
+Once you are done with your changes, you need to compile the static content for the website.
--- End diff --
yup. I added a sentence for the minimal ruby version.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
[GitHub] incubator-distributedlog pull request #30: Add instructions for building web...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/incubator-distributedlog/pull/30
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---