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

Implement new default script behavior, style is:global #2961

Merged
merged 6 commits into from
Apr 2, 2022
Merged

Conversation

natemoo-re
Copy link
Member

Changes

Testing

Tests will be updated

Docs

Not yet

@changeset-bot
Copy link

changeset-bot bot commented Apr 2, 2022

🦋 Changeset detected

Latest commit: 7e5fd85

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
astro Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) pkg: example Related to an example package (scope) labels Apr 2, 2022
Copy link
Member

@FredKSchott FredKSchott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions github-actions bot added the test label Apr 2, 2022
@natemoo-re natemoo-re merged commit d55658f into main Apr 2, 2022
@natemoo-re natemoo-re deleted the feat/rfc0016 branch April 2, 2022 17:34
@github-actions github-actions bot mentioned this pull request Apr 2, 2022
FredKSchott added a commit to withastro/docs that referenced this pull request Apr 12, 2022
* create page

Signed-off-by: Zade Viggers <[email protected]>

* move hydration directives documentation to directives reference page

Signed-off-by: Zade Viggers <[email protected]>

* add fragment to directives reference page

Signed-off-by: Zade Viggers <[email protected]>

* add script and style tag directives

Signed-off-by: Zade Viggers <[email protected]>

* add set:html and set:text

Signed-off-by: Zade Viggers <[email protected]>

* add directives reference page to sidebar

Signed-off-by: Zade Viggers <[email protected]>

* add hoist example & improve define:vars warning

Signed-off-by: Zade Viggers <[email protected]>

* update headings to be more uniform

Signed-off-by: Zade Viggers <[email protected]>

* create page

Signed-off-by: Zade Viggers <[email protected]>

* move hydration directives documentation to directives reference page

Signed-off-by: Zade Viggers <[email protected]>

* add fragment to directives reference page

Signed-off-by: Zade Viggers <[email protected]>

* add script and style tag directives

Signed-off-by: Zade Viggers <[email protected]>

* add set:html and set:text

Signed-off-by: Zade Viggers <[email protected]>

* add directives reference page to sidebar

Signed-off-by: Zade Viggers <[email protected]>

* add hoist example & improve define:vars warning

Signed-off-by: Zade Viggers <[email protected]>

* update headings to be more uniform

Signed-off-by: Zade Viggers <[email protected]>

* Add is:raw

* Move is:raw

* Add scetion descriptions

* document global directive

Signed-off-by: Zade Viggers <[email protected]>

* document class:list directive

Signed-off-by: Zade Viggers <[email protected]>

* fix formatting

Signed-off-by: Zade Viggers <[email protected]>

* Add info about how class:list is passed to children.

* Add information to top of page

* Fix typo

* Clean up page a bit

* Add note about `class:list` not working with expressions

* make links to directives reference page consistet with the rest of the docs

Signed-off-by: Zade Viggers <[email protected]>

* update to be consistent with new script and style behavior ([#2961](withastro/astro#2961))

* move universal directives to the top of the page

Signed-off-by: Zade Viggers <[email protected]>

* change framework components page a little

Signed-off-by: Zade Viggers <[email protected]>

* better description at top of page

* add link to styling page

* add note about is:text being redundent

Signed-off-by: Zade Viggers <[email protected]>

* make is:raw description clearer

Signed-off-by: Zade Viggers <[email protected]>

* move warnings below example code

Signed-off-by: Zade Viggers <[email protected]>

* fix typo

Signed-off-by: Zade Viggers <[email protected]>

* another typo

Signed-off-by: Zade Viggers <[email protected]>

* fix fragment from old draft

Signed-off-by: Zade Viggers <[email protected]>

Co-authored-by: Fred K. Schott <[email protected]>
SiriousHunter pushed a commit to SiriousHunter/astro that referenced this pull request Feb 3, 2023
…#2961)

* feat: implement RFC0016

* chore: update to latest compiler

* chore: update compiler

* test: fix script tests

* test: update public tests

* feat: throw a warning when referencing scripts in `public/` without `is:inline`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope) pkg: example Related to an example package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants