-
Notifications
You must be signed in to change notification settings - Fork 957
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
Clarify public
dir in directory structure doc page (#2238)
#2240
Conversation
public
dir (#2238)public
dir in directory structure doc page (#2238)
@@ -49,3 +49,7 @@ and available variables. | |||
## `themes` | |||
Contains themes that can be used for your site. If you are not planning to use themes, leave this directory empty. | |||
If you want to learn about themes, see the [themes documentation](@/documentation/themes/_index.md). | |||
|
|||
## `public` | |||
Contains the built site from [`zola build`](@/documentation/getting-started/cli-usage.md#build). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
zola serve
might create it as well. As mentioned in the issue, this folder can be specified in zola build/server.
I think I would just mention that by default a public
folder might appear when running zola build/serve that contains some of the output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be fine now? LMK if I should make any more adjustments
@@ -49,3 +49,6 @@ and available variables. | |||
## `themes` | |||
Contains themes that can be used for your site. If you are not planning to use themes, leave this directory empty. | |||
If you want to learn about themes, see the [themes documentation](@/documentation/themes/_index.md). | |||
|
|||
## `public` | |||
Contains the built site. Might appear from [`zola build`](@/documentation/getting-started/cli-usage.md#build) and [`zola serve`](@/documentation/getting-started/cli-usage.md#serve) depending on your configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move that text around L20 and remove the header? Also
Contains the built site
is technically incorrect for zola serve
so I would remove it.
Something like:
You might also see a public
directory if you are running the default zola build/serve
commands which contains some output for the site: the full site for zola build
and only the static assets for zola serve
. This folder will be deleted/created automatically by zola serve
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
…etzola#2240) * Clarify `public` dir (getzola#2238) * Add `zola serve` to `public` dir description * Move and rewrite `public` clarification
…etzola#2240) * Clarify `public` dir (getzola#2238) * Add `zola serve` to `public` dir description * Move and rewrite `public` clarification
…etzola#2240) * Clarify `public` dir (getzola#2238) * Add `zola serve` to `public` dir description * Move and rewrite `public` clarification
…etzola#2240) * Clarify `public` dir (getzola#2238) * Add `zola serve` to `public` dir description * Move and rewrite `public` clarification
…etzola#2240) * Clarify `public` dir (getzola#2238) * Add `zola serve` to `public` dir description * Move and rewrite `public` clarification
…etzola#2240) * Clarify `public` dir (getzola#2238) * Add `zola serve` to `public` dir description * Move and rewrite `public` clarification
Sanity check:
Resolves #2238