Commit Graph

9524 Commits

Author SHA1 Message Date
Bjørn Erik Pedersen b6850bf96a Release 0.75.0 2020-09-14 12:23:52 +02:00
hugoreleaser d6e5e624ff releaser: Add release notes to /docs for release of 0.75.0
[ci skip]
2020-09-14 09:19:06 +00:00
Daniel Holbach 8cd6b4f473 typo: already -> already 2020-09-14 10:15:59 +02:00
Bjørn Erik Pedersen 2cb2b22bb7 Merge commit '534ae9c57a902aea9ed6e62390dec11fa74b7122' 2020-09-13 21:58:53 +02:00
Bjørn Erik Pedersen e3525de23c docs: Regen docs helper 2020-09-13 21:58:38 +02:00
Bjørn Erik Pedersen fd746dd832 docs: Regenerate CLI docs 2020-09-13 21:58:10 +02:00
Bjørn Erik Pedersen e201279804 Add "hugo mod npm pack"
This commit also introduces a convention where these common JS config files, including `package.hugo.json`, gets mounted into:

```
assets/_jsconfig
´``

These files mapped to their real filename will be added to the environment when running PostCSS, Babel etc., so you can do `process.env.HUGO_FILE_TAILWIND_CONFIG_JS` to resolve the real filename.

But do note that `assets` is a composite/union filesystem, so if your config file is not meant to be overridden, name them something specific.

This commit also adds adds `workDir/node_modules` to `NODE_PATH` and `HUGO_WORKDIR` to the env when running the JS tools above.

Fixes #7644
Fixes #7656
Fixes #7675
2020-09-13 20:55:29 +02:00
Fernando Jorge Mota 8e82c7ce1e markup/highlight: Add support to linkable line anchors on Chroma
Fixes #7622
2020-09-13 11:00:16 +02:00
Helder Pereira 21e94911b9 markup/asciidocext: Fix AsciiDoc TOC with code
Fixes #7649
2020-09-10 21:53:13 +02:00
Bjørn Erik Pedersen 50b8dace59 modules: Add noVendor to module config
Fixes #7647
2020-09-10 08:47:05 +02:00
Bjørn Erik Pedersen d05b541fe6 modules: Make ignoreVendor a glob pattern
Fixes #7642
2020-09-10 08:47:05 +02:00
Joe Mooring 4895c29c5b Document strings.Count function
Closes #1218
2020-09-08 13:06:13 +02:00
Cameron Moore c946082e79 docs: Update replaceRE func
Updates for #7604
2020-09-07 22:45:14 +02:00
Cameron Moore 149054341b docs: Update replace func
Updates for #7602
2020-09-07 22:45:14 +02:00
Cameron Moore d917567df8 docs: Update merge function
Updates for #7601
2020-09-07 22:45:14 +02:00
Bjørn Erik Pedersen f1e093c92a docs: Regen CLI docs 2020-09-07 21:46:30 +02:00
Bjørn Erik Pedersen c7bac967d0 docs: Regen docs helper 2020-09-07 21:45:16 +02:00
Bjørn Erik Pedersen 7a38f7a452 Merge commit '7d7771b673e5949f554515a2c236b23192c765c8' 2020-09-07 21:37:51 +02:00
Joe Mooring d3eb97a332 Document .IsSection page variable
* Document .IsSection page variable

Closes #760

* Describe what it is rather than what it is not
2020-09-07 14:23:08 +02:00
lbischof a068bcf5cb Ace and Amber support was removed with #6609 2020-09-07 00:08:02 +02:00
Nicolas Piganeau 1a5a7263a2 markup/asciidoc: Add support for .TableOfContents
Fill the .TableOfContents template variable when writing Asciidoc content.
This is done by letting Asciidoc render its TOC as HTML, then extract this
HTML rendered TOC, parse it into a tableofcontents.Root and finally remove
it from the HTML content.
This aims to stay in the logic that the Asciidoc parsing is entirely done
by the external helper.

See #1687
2020-09-06 11:34:32 +02:00
Jørn Åne 5cd9ca4b23 Mention MacPorts also on the Installing page (#1215)
* Add instructions for using Macports

Fix for #688, rewrite the text so it's clear that either MacPorts or Homebrew can be used to install Hugo.

* Add MacPorts to Getting Started page

* Update Pick Your Method section to include MacPorts
2020-09-06 00:00:21 +02:00
Jørn Åne 0ae8f5c19c Add instructions for using Macports
Fix for #688, rewrite the text so it's clear that either MacPorts or Homebrew can be used to install Hugo.
2020-09-05 22:25:04 +02:00
Joe Mooring d50aba8f06 Revise ref and relref function pages
Closes #1212
2020-09-05 18:24:43 +02:00
James Goldie a17e25d6f6 Update quick-start.md: move notice about drafts up 2020-09-05 11:24:03 +02:00
Joe Mooring cf87a5da2c Update macOS tarball installation instructions (#1203)
Closes #1202
2020-09-02 06:07:43 -04:00
Manas Marthi 2e701f8f38 Corrected the url for index function link
/functions/index/ directs to _index.md . Replaced it with /functions/index-function/
2020-09-02 09:57:41 +02:00
Andrew Medworth 736bd59e00 Clarify treatment of zero weights (#1207)
* Clarify treatment of zero weights
* than -> then
* Remove null link to section and list pages
2020-08-31 21:10:05 +07:00
Joe Mooring 42a19f479e Fix example of output from urlize function
Closes #1204
2020-08-29 19:20:55 +02:00
Joe Mooring 34f8de26de Revise content-management/cross-references
Closes #1199
2020-08-28 11:34:42 +02:00
ngdangtu 252435a950 Rewrite Translation of Strings
Let's make this item be more explicit... again?
2020-08-27 08:08:44 +02:00
Carlin MacKenzie f0882bc14a Remove note that has been outdated by v0.71.0
It's contradicted two lines above :)

> You can also create type/section specific hooks in `layouts/[type/section]/_markup`, e.g.: `layouts/blog/_markup`.{{< new-in "0.71.0" >}}
2020-08-25 21:32:33 +02:00
Victor Massé dfe28ceb54 Improve mounts module config
Improve docs as per this message https://discourse.gohugo.io/t/module-mounts-incompatible-with-postcss-import/26881/2
2020-08-25 11:06:55 +02:00
Joe Mooring 58029627df Fix erroneous example code piping to if
Fixes #1192
2020-08-23 12:27:10 +02:00
Fabian Tamp 7297c11727 Add note about caching for Hugo Pipes.
As per discussion in [Is the new js.Build functionality cached?](https://discourse.gohugo.io/t/is-the-new-js-build-functionality-cached/27276)
2020-08-04 13:32:50 +02:00
Christian Oliff c91be3403e minor markdown, capitalization and spelling fixes (#1183) 2020-08-03 12:48:59 +09:00
Joe Mooring fd4a103bfd Fix several 404 errors (#1162)
Closes #1161

I removed the paragraph related to Amazon S3 deployment from Wercker;
I was unable to find any documentation on the Wercker site. This is not
surprising. Wercker was acquired by Oracle in 2017, and I suspect Oracle
has little interest in promoting any of Amazon's services.
2020-07-31 19:29:47 +09:00
kersus 69378bc207 Update related.md
Fix build error on line 85, change {{< code-toggle file="config" >}} to {{< /code-toggle >}}.
2020-07-31 11:55:10 +02:00
Joel Ostblom 28c24e95fa Add note on setting baseURL
This note already exists for the GitHub pages setup section, and it appears that it is needed for Hugo themes to display correctly on GitLab as well.
2020-07-29 13:45:07 +02:00
Jeff Warner 7b1502c99d minor typo fix (#1180) 2020-07-29 19:46:44 +09:00
Bjørn Erik Pedersen 33abeb4fef Update related.md 2020-07-26 11:27:24 +02:00
Bjørn Erik Pedersen 4887563f6b Update js.md 2020-07-23 19:07:30 +02:00
Bjørn Erik Pedersen ee5f1de2eb Hugo 0.74.3 2020-07-23 18:46:47 +02:00
hugoreleaser 986ea0c8ea releaser: Add release notes to /docs for release of 0.74.3
[ci skip]
2020-07-23 16:21:21 +00:00
Helder Pereira 3299b44bdb Fix Asciidoctor args
* Fix Asciidoctor args

* Fix Asciidoctor args documentation

* Update AsciiDoc documentation

Co-authored-by: Derk Muenchhausen <derk@muenchhausen.de>

Fixes #7493
2020-07-23 15:59:48 +02:00
Bjørn Erik Pedersen bcb9503470 resources/js: Add option for setting bundle format
Fixes #7503
2020-07-22 10:13:30 +02:00
Bjørn Erik Pedersen 3f8324918b resources/js: Add es5 build target 2020-07-20 22:26:38 +02:00
Regis Philibert a26d0e6104 Add documentation to js.Build (#1175)
Fixes #1171
2020-07-20 10:09:06 -04:00
Bjørn Erik Pedersen 439a22c3e5 Update index.md 2020-07-17 19:50:44 +02:00
Bjørn Erik Pedersen 7a779b39a7 Hugo 0.74.2 2020-07-17 19:45:20 +02:00