Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

Sphinx Documentation #313

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

hlship
Copy link

@hlship hlship commented Nov 17, 2017

This PR creates an initial set of documentation using Sphinx and Restructured Text, based on a pattern I've used for Lacinia and Lacinia-Pedestal. It's very easy to get things set up on ReadTheDocs.org.

There's not a lot here ... think of this as a skeleton and head start. I also hit the limits of my knowledge with Lumo in a few places and I need to switch back to other work now.

Do set this up locally, you'll need to install Python, pip (the Python package manager) and then:

pip install recommonmark
pip install sphinx
pip install sphinx-autobuild
pip install sphinx-rtd-theme

You can edit documentation by going into the docs folder and execute make live. This will open up a browser. The browser live reloads when files change. The default RTD theme looks fine to me, and the built-in navigation (and search) is super-useful.

Get in contact if you need any extra help. I may have more time to work on documentation next week.

@anmonteiro
Copy link
Owner

@hlship Documentation is highly appreciated.

I'm ashamed to admit that I haven't looked at this yet, though. Please give me some more time, and sorry for the wait!

@arichiardi
Copy link
Collaborator

@hlship @anmonteiro

I was looking at this one again and it is a pity that it is still pending. Why don't we move it at least to the wiki section on GitHub so that the content is available?

I can do that in these days...then when we figure out the hosting and all we can always move it.

@hlship
Copy link
Author

hlship commented Mar 26, 2018 via email

@arichiardi
Copy link
Collaborator

@hlolli Thanks for your initial cut, we now have a wiki! https://github.com/anmonteiro/lumo/wiki

`clojure/tools.cli <https://github.com/clojure/tools.cli>`_ package,
you can store it in a local project folder and tell Lumo about it::

$ lumo -c src:lib/tools.cli-0.3.5.jar -m roll.dice --json 3d6
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I must be blind but I don't think I see the roll.dice source file here, should we show it as part of the doc? I would like to add it to the wiki as well.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's hypothetical ... I never even wrote it.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it, you actually made me try and realize that indeed tools.cli is self-host compatible :D

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

3 participants