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

Add description for extra.scope option #5964

Closed
2 tasks done
Bizordec opened this issue Sep 4, 2023 · 4 comments
Closed
2 tasks done

Add description for extra.scope option #5964

Bizordec opened this issue Sep 4, 2023 · 4 comments
Labels
documentation Issue concerns the documentation

Comments

@Bizordec
Copy link
Contributor

Bizordec commented Sep 4, 2023

Description

This option useful in case when you build subsites separately. For example, for this structure

.
└── /
    ├── A/
    ├── B/
    └── C/

each site will have its own state for palette (/A/.palette, /B/.palette, /C/.palette). To share the same state between all subsites, you could set scope: /.

It was already described here (#1914 (comment)), but is still missing in the docs.

Related links

Proposed change

No response

Before submitting

@Bizordec Bizordec added the documentation Issue concerns the documentation label Sep 4, 2023
@squidfunk
Copy link
Owner

Thanks for reporting! Would you like to submit a PR? ☺️ Do you have a proposal where this should be located?

@Bizordec
Copy link
Contributor Author

Bizordec commented Sep 4, 2023

Yep, I've submitted! I think it should have its own page in Setup section.

@squidfunk
Copy link
Owner

We've decided to close the PR, as we're not planning to add an entire section on this, but as already explained in #5967 (comment), we'll shortly add a multi-site guide that will include and explain this setting ☺️

@squidfunk
Copy link
Owner

I've finally found some time to add this to the documentation – I used large parts of your PR #5967, so I tagged you as a co-author ☺️ The current place might not be perfect, but we'll shortly revise our documentation, so we'll likely move it around.

Fixed in f494840.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issue concerns the documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants