Skip to content

First pass at documentation #62

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

Closed
9 tasks
pkgw opened this issue Jun 3, 2017 · 13 comments · Fixed by #427
Closed
9 tasks

First pass at documentation #62

pkgw opened this issue Jun 3, 2017 · 13 comments · Fixed by #427

Comments

@pkgw
Copy link
Collaborator

pkgw commented Jun 3, 2017

The Tectonic documentation tool, ironically, has no documentation itself. That needs to be fixed.

One day the docs will be written in TeX, but for the proximate future I think it is more practical to write them in Markdown so that they can appear on the website — with Unicode and decent CSS, the presentation will be sufficiently readable. Translating from MD to TeX will require some effort in the future, but it will just be a bit of busywork, not anything fundamentally challenging.

@iandol
Copy link

iandol commented Jun 5, 2017

translating from MD to LaTeX will require some effort in the future

Why not use the awesome pandoc to translate to LaTeX? It has excellent support for custom latex templates and raw latex. You can build latex, epub and HTML pages from the same markdown source. It seems perfect for this task.

@robbystk
Copy link

robbystk commented Jun 5, 2017

How should this be organized? I think some of these need dedicated pages (config, command options), and the rest could be in a single FAQ page. The FAQ should probably be linked in the header, but I'm not sure if there's room for three more things (command options, configuration, FAQ). Perhaps a 'getting started' page could be added that would then link to installation, commands, configuration, and the FAQ.

@robbystk
Copy link

robbystk commented Jun 6, 2017

I guess I should just make pages and ask questions later.

@pkgw
Copy link
Collaborator Author

pkgw commented Jun 6, 2017

@iandol Well, no lack of love for pandoc here, but one of the goals of Tectonic is to hopefully make it so that TeX can be an attractive source language for technical documentation that targets modern output formats. If we can't eat our own dogfood ...

But, it's true that right now we can't eat our own dogfood since HTML really is necessary and I haven't written that part of Tectonic yet. So, Markdown for now.

@pkgw
Copy link
Collaborator Author

pkgw commented Jun 6, 2017

@robbystk Contributions are definitely welcome! I want to sit down and plan out both the technical implementation and the organization for the first-cut user docs, but I'm pretty sure that anything delivered as a Markdown file will be useful regardless of the final decisions on that front.

One technical issue is that I think we really want the documentation of the program to live in this repo, but then it needs to make it into the website repo to make it to the web. I guess I can just do the same thing I do for the API docs right now ... it's not like we want the docs on the website to track master anyway.

It would also be nice to serve multiple versions of the docs as the tool evolves ... can we (ab)use ReadTheDocs.org somehow?

@pkgw
Copy link
Collaborator Author

pkgw commented Jun 6, 2017

Also, I've been thinking that the main sections of the website should be Tectonic (i.e. the main landing page), Install, Learn, and Contribute.

@pciavald
Copy link

hey @pkgw, reading this conversation i noted that

one of the goals of Tectonic is to hopefully make it so that TeX can be an attractive source language for technical documentation that targets modern output formats

I cannot agree with this goal more. However, our dogfood is not as attractive as MD can be, hence the category of people who work with our dogfood, hence the poor UI problem inherent to TeX.

I've recently started using pandoc+texlive+atom(+jekyll) to write my documentation, specs, articles... and I find that creating most of the content in MD and using TeX and HTML only where MD falls short is extremely readable and convenient.

This message is to attest my gratitude in building the future of TeX and I hope to someday be able to use pandoc with tectonic. I think there's no shame in writing most of the documentation of a modern, lightweight TeX engine in markdown :)

@pkgw
Copy link
Collaborator Author

pkgw commented Feb 24, 2018

@pciavald Thanks! I am all about being pragmatic and I think Markdown is going to be the pragmatic choice for a while. I do dream of a day where pure TeX can be competitive but we're definitely not there ... yet :-)

@PHPirates
Copy link
Contributor

Voting to add documentation... and redirecting people to this issue to also vote for documentation...

@ghost
Copy link

ghost commented Aug 8, 2019

Sounds like 2 main problems here:

  1. knowing and finding the best approach to manage documentation
  2. creating the content

I have had experience contributing to the Ember.js guides and they do a great job at making their guides documentation entirely contained within the repository. Given a JavaScript toolchain you can simply install and ember serve to see a locally served copy of the documentation.

We could consider authoring them in a format that crates.io can discover like csv does. As someone learning rust, I found it quite helpful to go through a tutorial directly from the official documentation. I couldn't find a livereload option, so a zola site embedded within this repository could be a short term workaround.

I think the answer to the first problem will require more specifications and laying out goals.
In the meantime I think we can solve problem 2. We should decide on preliminary directory structure in this repo and start writing the content in markdown.

@pkgw
Copy link
Collaborator Author

pkgw commented Aug 8, 2019

@efx I think I pretty much agree. I use zola for my personal website and am a big fan. That being said, other Rust projects seem to use mdBook ... but really it is high time to just get something going.

One of the reasons this issue has lingered for so long is that my bandwidth to work on Tectonic is very limited these days, but I am more than eager to encourage others to take the lead! (Well, there is definitely a controlling perfectionist part of me that wants to oversee every single character in the repo, but I try to fight that tendency.)

@ghost
Copy link

ghost commented Aug 8, 2019

Sounds great!

Well, there is definitely a controlling perfectionist part of me that wants to oversee every single character in the repo, but I try to fight that tendency.

😆

I'll draft together a PR sometime this week with the basic structure.

@pkgw
Copy link
Collaborator Author

pkgw commented Aug 24, 2019

Update: with #444 I deployed a scheme to actually get our book stub posting to the live internet. Here's a forum post I wrote about it:

https://tectonic.newton.cx/t/ready-for-contributions-the-tectonic-book/199

and here's the link:

https://tectonic-typesetting.github.io/book/latest/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants