-
Notifications
You must be signed in to change notification settings - Fork 16
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
Design site content and navigation #2
Comments
@genevievePrima can you help? |
I made some progress on this today. As of 6f9d3d7 the following is done and visible on the under construction site:
What needs to be done:
|
This is awesome! What I'd also like to see:
I totally suck at webdesign, and I'm also not familiar with page generation (but love to learn more), so what can I do to make it more easy to integrate? We started with src/omnicore/doc to consolidate docs, and at some point I'd also like to include process definitions, and ideally more information for developers, though this is probably still a long way. Here is a very loose collection, of what I had in mind (all this is probably not usable in this context, but just to give you an idea): Guides:
Process:
Developer notes:
ACK! |
The tool that we are using JBake supports both Github markdown and AsciiDoctor syntax content files. So it should be relatively easy to pull in content from the OmniCore repository. (I'm not sure the best mechanism for access the files, perhaps a Git submodule, though maybe there is a better way) AsciiDoctor format is much better suited for producing specifications, reference manuals, software documentation especially when in a longer format needing a table of contents, code examples, etc. AsciiDoctor also has support for including files. For example, the Bitcoin Book is written in AsciiDoctor. I would recommend using AsciiDoctor for any major documents on the OmniCore project and possibly converting a few of the existing documents. The build for this site is using the JBake Gradle Plugin so you can play around with the site by checking out the |
Thanks for the information, I'm going to look into it!
I started with contribution guidelines for Omni Core (see OmniLayer/omnicore#186; help welcomed, so far it's a little bit more than a loose collection of keywords), and I saw there is also a currently blank page for contributions in this repo. Aside from whether the document is intended to be more general, or Omni Core specific, just for my understanding: to cross-reference/cross-include documents, Omni Core would be added here as submodule, so there is direct access to the files, right? This actually makes me wonder, whether we may create a new repo for documentation of any kind, and then refer to it from the actual projects. On the other hand, the Omni Core docs are embedded into the build process, and ultimately packed into the setup/installer etc.. I'm not sure, how/if that combination would play well together. |
It might make sense to make this repo ( I'm not sure what the best mechanism for handling documentation between multiple repositories is. There are a few possible approaches:
Whichever of the above does the job in the simplest and most-reliable manner would be best. |
@dexX7 : I sent you a (proof of concept) PR converting your |
... and I dropped in your version to UPDATE: I also replaced the ascii-art flow chart with GraphViz one that renders to SVG. I did this over in OmniJ because I have diagrams configured to work with the raw Gradle AsciiDoctor plugin. I'll try configure them with Gradle JBake plugin for use on the Github Pages site soon. |
This is fascinating! I mean, we can argue about details of the styling etc. (the color red indicates errors, danger, ...), but the difference between: ... is impressive, and I really like where this is going. Do you want to take over the original submission? There isn't much I can add from this point on, and we basically need a) better phrasings/text, b) fill in all blanks, c) finally style it, in one way or another. We still have to consider that some content is also shown on GitHub directly, like this doc, and unprocessed (i.e. on GH) the pull request lifecyle is unfortunally not really usable. Given that graphs and charts are very useful, likely also for the specification at some point later, ideally we'd find a solution that works both ways. Or do you think it would be better to move to html completely? I personally find it more appealing, if I can see the docs on GitHub, too, because websites are often filled with other stuff, and distracting. Maybe that's just me, though. |
Github does render @dexX7 Did you see the PR I sent you to convert The version rendered by the Gradle AsciiDoctor Plugin uses the default AsciiDoctor stylesheet. The version rendered by the Gradle JBake Plugin uses the default JBake stylesheets (which uses Bootstrap.) I'm hoping (Issue #3) that we'll create a custom Omni stylesheet for the site. Changing the colors should be easy enough. |
In this context I was referring to the diagram. The other outstanding challenge I currently see is how we're going to deal with documentation, which is packed into setup/installer files. However, instead of simply adding plain text files (as done right now), it would be much better, if we could ship it with a styled documentation, and I wouldn't be surprised, if we can manage to integrate the page generation into the build/make process. Once I find some time, I'm going to look into it. You provided quite a few references, which is a great starting point for me. |
@dexX7 if you and @zathras-crypto are willing to learn and use AsciiDoctor markdown, and you are willing to help with some of the build issues. I'm willing to help get the Omni Core documentation structured nicely. As you know, it is something I have some experience with and enjoy doing. Is there a parent/tracking issue in Omni Core we could use to discuss this? |
I'm leaning towards this solution as I've seen it used successfully in other projects. We will almost certainly want to publish documentation for at least two versions of the software. If we can build |
I support the idea. We have OmniLayer/omnicore#185 open for the contributing doc, but feel free to open a more general issue. |
The text was updated successfully, but these errors were encountered: