Skip to content
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

docs: Add more cross refs and fix formatting #2768

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions content/en/getting-started/glossary.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ A data type with two possible values, either `true` or `false`.

###### branch bundle

A directory that contains an _index.md file and zero or more [resources](#resource). Analogous to a physical branch, a branch bundle may have descendants including leaf bundles and other branch bundles. Top level directories with or without _index.md files are also branch bundles. This includes the home page. See [details](/content-management/page-bundles/).
A directory that contains an `_index.md` file and zero or more [resources](#resource). Analogous to a physical branch, a branch bundle may have descendants including [leaf bundles](#leaf-bundle) and other branch bundles. Top level directories with or without `_index.md` files are also branch bundles. This includes the home page. See [details](/content-management/page-bundles/).

###### build

Expand Down Expand Up @@ -108,7 +108,7 @@ A template called with the `.Page.Render` method. See [details](/templates/

###### context

Represented by a dot "." within a [template action](#template-action), context is the current location in a data structure. For example, while iterating over a [collection](#collection) of pages, the context within each iteration is the page's data structure. The context received by each template depends on template type and/or how it was called. See [details](/templates/introduction/#context).
Represented by a dot (`.`) within a [template action](#template-action), context is the current location in a data structure. For example, while iterating over a [collection](#collection) of pages, the context within each iteration is the page's data structure. The context received by each template depends on template type and/or how it was called. See [details](/templates/introduction/#context).

###### default sort order

Expand Down Expand Up @@ -167,7 +167,7 @@ A file within the assets directory, or within any directory [mounted](/hugo-modu

###### headless bundle

An unpublished leaf or branch bundle whose content and resources you can include in other pages. See [build options](/content-management/build-options/).
An unpublished [leaf](#leaf-bundle) or [branch bundle](#branch-bundle) whose content and resources you can include in other pages. See [build options](/content-management/build-options/).

###### identifier

Expand Down Expand Up @@ -205,7 +205,7 @@ See [template](#template).

###### leaf bundle

A directory that contains an index.md file and zero or more [resources](#resource). Analogous to a physical leaf, a leaf bundle is at the end of a branch. It has no descendants. See [details](/content-management/page-bundles/).
A directory that contains an `index.md` file and zero or more [resources](#resource). Analogous to a physical leaf, a leaf bundle is at the end of a [branch](#branch-bundle). It has no descendants. See [details](/content-management/page-bundles/).

###### list page

Expand Down Expand Up @@ -373,7 +373,7 @@ Conceptually, a [map](#map) with [methods](#method) to set, get, update, and del

###### section

A top-level content directory, or any content directory with an _index.md file. A content directory with an _index.md file is also known as a [branch bundle](/getting-started/glossary/#branch-bundle). Section templates receive one or more page [collections](#collection) in [context](#context). See [details](/content-management/sections/).
A top-level content directory, or any content directory with an `_index.md` file. A content directory with an `_index.md` file is also known as a [branch bundle](/getting-started/glossary/#branch-bundle). Section templates receive one or more page [collections](#collection) in [context](#context). See [details](/content-management/sections/).

###### section page

Expand Down
2 changes: 1 addition & 1 deletion content/en/hugo-modules/use-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ use .
use ../gohugoioTheme
```

Using the `use` directive, list all the modules you want to work on, pointing to its relative location. As in the example above, it's recommended to always include the main project (the ".") in the list.
Using the `use` directive, list all the modules you want to work on, pointing to its relative location. As in the example above, it's recommended to always include the main project (the `.`) in the list.

With that you can start the Hugo server with that workspace enabled:

Expand Down