Tutorials here? #3341
Replies: 2 comments
-
@BurdetteLamar Thanks for thinking about this! Yes, my ultimate goal is to have all of the nokogiri.org content in this repository, and generate a static site that doesn't need The only tricky thing to consider about the tutorials is that they are "executable documentation" and need to be "compiled". If you check out the https://github.com/sparklemotion/nokogiri.org repository and look at
Those
which shows the markdown file being pre-processed for the inline XML and Ruby files. The point I'm trying to make is that the raw markdown docs aren't very useful without being preprocessed first, and that's why they're currently sitting in the nokogiri.org repository. They're "user-friendly" only in that final form, and so I think being in the website directory is still appropriate for now. What I was thinking was, though, is instead of trying to peel away pieces of nokogiri.org that might fit well in this repository, can we work within the nokogiri.org repository to first make it a static site? This may be very hard to do. But if we do it, we'll be able to more easily import the entire site into this repository (and potentially just convert the website into an rdoc-generated content). This is something like what Kent Beck said: "When you have a big change to make, first make the change easy (warning: this may be hard!), then make the easy change." Hope I'm making sense. I'm not sure there are any easy wins here, but I'd love to get aligned on the path we should follow. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure I'm following all of your thinking. However, what I'm thinking would not include importing anything, but instead just writing from scratch new .md files on this site. This might begin with tutorials, and have other stuff later. |
Beta Was this translation helpful? Give feedback.
-
At RubyConf, we discussed having tutorials (and other user-friendly doc) here at https://github.com/sparklemotion/nokogiri, instead of at https://github.com/sparklemotion/nokogiri.org/, as now.
Is this something we should move forward with? Is there any loss in doing so? (I seem to recall that on nokogiri.org there's some sort of searching support; anything else?)
Beta Was this translation helpful? Give feedback.
All reactions