4dd2d6415Fix erroridf example9ae8e9199Clarify highlight optionsf3943f9c8Fix typob57ea5ac8Add field to glossary of terms3191e35b4Clarify comment in the new-in shortcode870c8d35cCorrect description of Ref and RelRef page methodsc9df50e6eSpecify encoding in description of crypto functions749bb37e2Add Ref, RelRef, and Site shortcode methods994d4374bUpdate fmt functions740f5ef96Misc additions77acdcdb6Remove rssLimit from root config documentationdf84a1795Document the openapi3.Unmarshal function24236f57dMiscellaneous edits and corrections41b54d421Hide the "new in" button after some period of time3c1ebac31Update Ancestors.mde699eb313Add new-in tags to select functions and methods5c41f0bf8Clarify time.Format methodf7bd43ae1Add link to built-in render hook for GoAT diagrams06f9cd4c9Document the diagrams.Goat function5e432e12dAdjust quick reference weightsfc915efd6Update FAQ5bccf8b19Use LinkTitle consistently in examples36f207f3aAdd page collection quick reference699de883dInlcude example of newScratch.Values9bb7f8c78Include RenderString example for emoji shortcodes783fdd3acFix typo26d5a4399Fix typoc7e86f0cfFix typoad2a82fbdClarify data type returned by partial and partialCached1de5a52ddMiscellaneous corrections3509e1b4dUpdate configuration-markup.md8c6a9bf02Clairfy figure shortcode outputc9d0dc8fbUpdate Markdownify.md0c4bc1447Update theme0f0ab2adeAdd methods deprecated in v0.120.0e1c6ecd0fMiscellaneous editsec53b55b9netlify: Hugo 0.120.423a1f3fd5templates/internal.md: Correct GoogleAnalytics key name6dcfa9a82Update troubleshooting section0c8857e8fAdjust code and code-toggle shortcodes8820264d3Reduce number of site audit warnings526d06b90Clarify hint option in image processing spec310849daaImage Processing: Improve sentence and fix code sample5bb67bfd4Revert "Image Processing: Improve sentence and fix code sample" (#2318)77c926fdeImage Processing: Improve sentence and fix code sample52179fb18Miscellaneous editsf4e886715Revert change to hugo.workc410fefa8Update theme8b72dfeddRework where function documentationf35a7126fMinor edits to global page function903b42ebcCleanup shortcode callsc9247e98dUpdate documentation.mddff3c4abbClean up build option descriptions and examplesf46d31308Use consistent signatures2af2470b5Minor correction to resources.GetRemote45ec53fe0Remove superfluous shortcode param2a0544757Improve deployment documentation3cf36a7fcClarify lang keywordf10d6495dUpdate front-matter.mddc94e20beAdd Sveltia to CMS listb15d6d670Update front-ends.mdbb41588b2Update FormatCurrency.mdb40fff396Add showcase for hidden sections without index.html71316e181Improve image filter examplesd46f0b1d8Miscellaneous editsad3f9cdb6Adjust quick reference guides8657804baUpdate themed9e981147Miscellaneous corrections508666575Miscellaneous updates80b2241f9Miscellaneous updates723a827fdNamespace functions and methods40212779anetlify: Hugo 0.120.366017c704Bump GitHub workflows to latest versionsdb0f1e682Update related.md7e758c23bnetlify: Hugo 0.120.2641ba3976Update configuration.mdd2a9909d9Update rss.md7eb59d7a2netlify: Hugo 0.120.1708c351c4Document debug.Timer28e2388c2Add new-in tag to images.Paddingee24cffb5Add new-in tags to hugo.IsDevelopment and hugo.IsServeraa47ca023netlify: Hugo 0.120.09c3e606fcdocs: Regen docshelper159fd971ecommands/new: Remove format flag from new content cmd9f7878092Merge commit 'aaaf1c8df5d6aa061609d20510f7fa6c42e5cc1a'65b2dd324docs: Regenerate docshelper2be620663resources/images: Create padding image filterc777d6c5eMerge commit '3710a5ec7efe6baca6e452f43632c05d22bab3c4'24f2afeb2Merge commit 'e509cac533600cf4fa8382c9cdab78ddd82db688'3f947c19ahugolib: Deprecate .Site.DisqusShortname6bd1af892hugolib: Deprecate .Site.GoogleAnalytics78becc6eetpl/tplimpl: Deprecate .Site.Social usage with internal templatese3ec2a4f2common/hugo: Add hugo.IsServer and hugo.IsDevelopment git-subtree-dir: docs git-subtree-split:4dd2d64153
Hugo Docs
Documentation site for Hugo, the very fast and flexible static site generator built with love in Go.
Contributing
We welcome contributions to Hugo of any kind including documentation, suggestions, bug reports, pull requests etc. Also check out our contribution guide. We would love to hear from you.
Note that this repository contains solely the documentation for Hugo. For contributions that aren't documentation-related please refer to the hugo repository.
Pull requests shall only contain changes to the actual documentation. However, changes on the codebase of Hugo and the documentation shall be a single, atomic pull request in the hugo repository.
Spelling fixes are most welcomed, and if you want to contribute longer sections to the documentation, it would be great if you had the following criteria in mind when writing:
- Short is good. People go to the library to read novels. If there is more than one way to do a thing in Hugo, describe the current best practice (avoid "… but you can also do …" and "… in older versions of Hugo you had to …".
- For example, try to find short snippets that teaches people about the concept. If the example is also useful as-is (copy and paste), then great. Don't list long and similar examples just so people can use them on their sites.
- Hugo has users from all over the world, so easy to understand and simple English is good.
Edit the theme
If you want to do docs-related theme changes, the simplest way is to have both hugoDocs and gohugoioTheme cloned as sibling directories, and then run:
HUGO_MODULE_WORKSPACE=hugo.work hugo server --ignoreVendorPaths "**"
Branches
- The
masterbranch is where the site is automatically built from, and is the place to put changes relevant to the current Hugo version. - The
nextbranch is where we store changes that are related to the next Hugo release. This can be previewed here: https://next--gohugoio.netlify.com/
Build
To view the documentation site locally, you need to clone this repository:
git clone https://github.com/gohugoio/hugoDocs.git
Also note that the documentation version for a given version of Hugo can also be found in the /docs sub-folder of the Hugo source repository.
Then to view the docs in your browser, run Hugo and open up the link:
▶ hugo server
Started building sites ...
.
.
Serving pages from memory
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stop