@bep @digitalcraftsman @spf13 @moorereason
I cloned the docs today and spent some time listing out and reorganizing the content/source in a way that I think might be a little bit more scalable and easy to manage. I ended up writing about 6 pages of notes as well, which are not included in this post.
This is an extremely rough draft, but I’d like some thoughts. In addition to this new organization, I’d be willing to put together everything else that would go with a full-fledged content management strategy, including, but not limited to, standardized front matter, content standards (eg, heading structure, input/output code blocks, taxonomies), more detailed instructions on how to contribute to the docs, etc.
I also have some ideas regarding shortcodes and perhaps sample source that can be referenced in the docs to make it easier for beginners to grock. This is a huge overhaul of the docs, so I’m not going to pretend that I can get this done in a week. Instead, I’d like some feedback with the goal of finishing the scaffolding (that is IA, not necessarily presentation or templates) for the new docs by the first or second week of December.
I’m curious as to how the site is currently being hosted. I’d like to use Wercker or Netlify (that is, if this actually takes off and the maintainers like it) so that I can build some image resizing, etc, in to make doc updates quicker, which will hopefully eventuate in a richer experiences for learners.
Here is what I have so far for organizing content/
. This should provide some insight as well into what a new nav might look like:
- About Hugo
- Features
- Introduction to Hugo
- Aliases
- Builders
- Taxonomy Support
- Development
- LiveReload
- Fastest SSG
- Pagination
- Theming
- Etc…
- Release notes
- Roadmap
- License
- Features
- Getting Started
- Installation (the “tutorials” for each install would move to this section, which is much more intuitive)
- OSX
- Linux
- Windows
- Download Hugo
- Install from Source
- Using the Hugo Docs
- Sample source (essentially a very basic sample site source org that could be referenced throughout)
- Sample Source Explained
- Sections (posts, pages)
- Data
- layouts
- static
- etc…
- Configuration
- Installation (the “tutorials” for each install would move to this section, which is much more intuitive)
- Project Organization
- Source Organization in Hugo (Intro)
- Content
- Supported formats
- Front Matter
- Site Sections
- Types and Layouts
- Archetypes
- Creating files from command line (Generators)
- Content Summaries
- Extending Markdown
- Multilingual Mode
- Templating
- Hugo Templating Introduction
- Golang Primer
- Page Types
- single
- list/node
- homepage
- rss
- sitemap
- 404
- Ace Templating
- Amber Templating
- Template Blocks
- Template Partials
- Template Functions
- Template Variables
- Site/global variables
- List/node variables
- Page Variables
- Scratch
- Homepage Template
- List Page Templates
- Cascade
- Ordering/sorting/weight
- Etc…
- Single Page Templates
- Cascade
- Etc…
- Content/Template views
- Taxonomies
- Terms List
- Taxonomy List
- Shortcodes
- Shortcode Types
- Syntax highlighting (built-in)
- Rest of built-ins, etc…
- Shortcode Types
- Data Templates
- Local files
- Data-driven content
- Template Debugging
- Hugo Templating Introduction
- Themes
- Introduction to Themes
- Installing and Using Themes
- Customizing a Theme
- Creating a Theme (pulled from tutorial as well)
- Themes Showcase
- Troubleshooting
- FAQs
-
hugo new
aborts with cryptic EOF error - Categories with accented characters inaccessible
- CSS files will not load
-
- File an Issue on GitHub
- FAQs
- Developer Tools
- Hugo Command Line Reference
- Editor Plugins
- Deployments and Hosting
- Hosting on GitHub
- Hosting on Gitlab
- Hosting on Bitbucket
- Hosting and Deployment on Netlify
- Frontends
- rango
- enwrite
- caddy-hugo
- hugopit
- lipi
- etc
- Commercial Services
- Algolia
- Appernetic.io
- Netlify.com
- Forestry.io
- etc
- Migrations
- Migrating from Jekyll (formerly in tutorials)
- Migration tools
- JekyllToHugo
- ConvertToHugo
- ghosttoHugo
- Octohug
- wordpress-to-hugo-exporter
- tumblr-importr
- tumblr2hugomarkdown
- drupal2hugo
- hugojoomla
- blogimport
- contentful2hugo
- etc
- Site Showcase (Possibly “Built with Hugo?”)
- Community
- How to contribute (formerly in tutorials)
- Mailing List
- Discussion Forums
- News & Articles
You’ll notice a few major changes. Don’t worry—if you see a missing sub-page or subsection of a page, it’s probably included in the "etc"s in the above list. That said, I think it’s worthwhile to get rid of the “extras” section and the “tutorials” section since some really good content gets lost in it’s current location. You’ll also notice that I don’t have a landing-page-style homepage like the current site. I don’t think it’s necessary to have an entirely different layout since most people want to get straight to the docs. That said, the index.html could include the “features” section mentioned above to make the About Hugo section that much smaller.
In my experience, website sections like “Extras,” “Resources,” etc tend to become attics and dumping grounds. For example, all references to working with data files are currently in “Extras,” which makes them less discoverable. Of course, I don’t have access to the site’s GA (content grouping should be a part of the new docs), so a lot of my decisions are based on assumptions rather than data, which I’m going to say right now is inherently faulty and subject to bias.
Any and all feedback is welcome. I’ll probably start tweaking this in my own repo and will keep the community updated as I make progress over the next month. Let me know the following:
- If you have any requests in terms of front-end frameworks as well (eg, bootstrap, Foundation), let me know: I’ve used them all. I’d rather focus on cleaning up the docs and the information architecture than making them pretty…and that might mean less generous browser support (as in, skipping IE altogether…or maybe just 11).
- I can’t decide if shortcodes should live under “templating” or “extending markdown” since both seem like good locations in their own way…