I'll start with a few basic questions.
What do you see as the advantages of Jekyll vs. a wiki? Over the
Github Wiki? Will we have to learn YAML (yet another markup
language)?
I haven't looked at the documentation recently so I don't recall
the issues I have had. I'll take another look.
Regards
-Mark
NOTE: This electronic mail message may contain confidential and privileged information from HI Corporation. If you are not the intended recipient, any disclosure, photocopying, distribution or use of the contents of the received information is prohibited. If you have received this e-mail in error, please notify the sender immediately and permanently delete this message and all related copies.
Will we have to learn YAML (yet another markup language)?
It seems there may be something called YAML. I do not mean that
language in particular.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
Jekyll is popular in this space, and has good github pages integration support, so it seems like a good solution. It uses Markdown, same as the github wiki I think.
What I should have asked is what are the problems with the
existing documentation are you trying to solve? How does Jekyll
solve those?
I'm not sure, it's unfortunately one of those problems i'm unsure if there's a complete solution to. The documentation is very complete in emscripten.h, i'm generally a fan of looking at things from users perspectives. Most who are looking at documentation or have questions would first go to the documentation (at least that's my experience), generally someone pokes around at a header file as a last resort (at least thats just me). In addition, jekyll and wiki's have the luxury of layout which allows you to add images, diagrams, links to other sources. So, i'd say simple notes in the header that refer to the URL for the documentation and keep all the documentation in one place.
The solution to this problem is tools like Doxygen. Such tools allow you to write the documentation in the .h file in a way from which the tool can generate more user friendly documentation. I think it is a good idea to have the full documentation with the code because it is more likely to get updated when the code is updated. Tools like Doxygen enable this.
--
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-discuss+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
"First thing, is this running after main() finished? See NO_EXIT_RUNTIME in src/settings.js regarding that."One of the problems I would like the documentation revamp to solve is the need to provide references like the above. We want to be able to provide a URL that when clicked takes you straight to the relevant document (and even section) rather than being told to look at the source. See my earlier message about doxygen-like tools for a way to accomplish this and have the full documentation in the source, without duplication.
I think we should make a list of the problems to be solved
before choosing technology.
I suspect the demo list should stay on the current wiki, and not be part of the documentation revamp. Yes, we certainly need to keep it up to date and add links to code etc. as you suggest. Table format would be good also. If you or anyone else wants to do that, that would be great.
+1. Making sure there is a link to the *working* demo is
important.
--
Hi BruceIn my last message I wrote: "I have not used Sphinx but I will review it and respond properly. My uninformed 10 second view is that Markdown/wiki text is easier to learn and use than ReStructured text. There is also a real "ease of use" benefit of markdown on Github because it can be previewed by the author (on the site) without them having to learn the Jekyll toolchain. The ability to publish to PDF or ePub is great - but is not IMO a key selection criteria."A few hours later ....
Yes, Sphinx would also be a capable tool for the job. It is a more mature product, with more output formats, inbuilt support for internationalisation, good source cross referencing, and some excellent extensions. It "understands" that you're trying to create a document hierarchy and automatically supports all the indexing and output HTML to support that. It has plenty of good documentation, an active community, and good support. It wasn't obvious to me exactly how the documentation of the C++ code would work, but clearly it would simplify things if we could use a single toolchain.
Jekyll is a less "refined" product, but its documentation is just as good, and it has an active community and support network. Jekyll does not force any structure or look and feel out of the box, which means that starting from scratch would be much harder. However you don't have to start from scratch - there is an existing "good" project (e.g. jekyllrb.com sources) which answers the open questions. I think a Jekyll site will be easier for anyone to customise and understand than a Sphinx configuration. My feeling would be very different if the main requirement was to extract the comments from source code.
A reason to choose Jekyll would be that it uses Markdown rather than ReStructured text. When hosting on Github this means authors can preview during development and get a pretty good idea of what it will look like without having to install the doc toolchain. They also have only one markup language to learn across wiki. This would be an advantage if most of you are only editing occasionally.
My only concern with Sphinx is that I'm not sure how easy it will be to modify the themes as needed, while I've got enough experience with Jekyll to know I can get it to do what we need. If I hadn't any experience of either solution I would be leaning towards Sphinx.
Regarding the documentation content, here's what I would suggest:
- clean up the demo list
- separate demos from tools / engines / libraries (it's somehow confusing right now)
- update the demo list with direct link to the code (if available) and the actual demo
- format it as a table ("name", "description", "author", "submission date", "demo link", "source code")I
Hi Warren, MSC
On Tuesday, 24 June 2014 21:03:23 UTC+10, Warren Seine wrote:Regarding the documentation content, here's what I would suggest:
- clean up the demo list
- separate demos from tools / engines / libraries (it's somehow confusing right now)
At this point they are all demos, in the sense that they demonstrate C++ code that was ported using emscripten.
We could separate them, but what would you group them as (they would not be helpful top level headings). Some options:a) Rename "Demos" to "Emscripten-ported C++ code" to make it clear that some of these are tools and frameworks.
b) Just have good graphical demo examples here (e.g. the games section). Move the other examples to their own wiki page and link from the bottom of the demos section.
- update the demo list with direct link to the code (if available) and the actual demo
- format it as a table ("name", "description", "author", "submission date", "demo link", "source code")I
I have formatted the list in a table as suggested. I made the name into a link, so perhaps should remove the "demo link" heading?
Is it worth having a "version" column for the Emscripten version?
At this point my tidying the table further is not a priority. If anyone wishes to take on this task or add the missing information, please be my guest.
ThanksHamish
Another thing that occurred to me is that we have inline docs in JavaScript as well, not just C++ (e.g., ccall in src/preamble.js). I suppose these tools might work on that as well? Could make things a little more complex though. Overall it might just be simpler to move the docs out of source files and into dedicated docs files.
Another thing that occurred to me is that we have inline docs in JavaScript as well, not just C++ (e.g., ccall in src/preamble.js). I suppose these tools might work on that as well? Could make things a little more complex though. Overall it might just be simpler to move the docs out of source files and into dedicated docs files.
Documentation separate from the code inevitably gets out of date
very quickly. Having the documentation and code together is
obviously no guarantee that the documentation will be updated
along with the code but it improves the chances hugely.
I urge no separation of docs and code.
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/blW_cmBHd3s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
- detail the project status
- turn the roadmap into a Trello board
- introduce the core team in a single place (with Twitter and GitHub handles, blogs)
- introduce the core team in a single place (with Twitter and GitHub handles, blogs)
On further consideration this may be useful, but probably would be better as a wiki article which can easily be kept up to date. I am considering is "out of scope" unless there is strong support for it being part of the documentation.
--
You received this message because you are subscribed to the Google Groups "emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to emscripten-disc...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/blW_cmBHd3s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
's in a python file there?mapped_wiki_inline_code['Pointer_stringify()']=':js:func:`Pointer_stringify`'
mapped_wiki_inline_code['Pointer_stringify()']=':js:func:`Pointer_stringify`'