-
Notifications
You must be signed in to change notification settings - Fork 0
refactor: switch to Astro #25
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
Open
simeonoff
wants to merge
24
commits into
master
Choose a base branch
from
simeonoff/v2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 17 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
dd98900
refactor(*): switch to astro for static site builds of sassdoc
simeonoff dcdb30b
refactor: many changes and additions
simeonoff aade1ef
i18n: add some localication strings
simeonoff d98088d
refactor(i18n): improve localization logic and strings
simeonoff 4bfa49d
refactor(*): minor fixes and improvements
simeonoff 6ef6880
ci: update github scripts
simeonoff f7389e1
npm(package-lock.json): bump
simeonoff ee5da8f
feat: add headers and footers
simeonoff e197563
fix(i18n): language not buing applied
simeonoff f6f0596
refactor: remove bulgarian from languages
simeonoff ee55fca
fix(item-header): hash link doesn't work
simeonoff 08b3ff3
refactor(*): make sassdoc-schema the only source of truth for types
simeonoff b7a1ec2
refactor(MainLayout): add missing cannonical links
simeonoff 5283bb7
refactor(*): simplify structure
simeonoff 4a661c5
refactor(index): improve layout and content
simeonoff 761f43b
fix(references): groups overflow
simeonoff 6ab8b12
fix(utils): properly handle items with custom names
simeonoff fb47307
chore: improve Google Tag Manager implementation and HTML structure
simeonoff 7948f6f
ci: update working directory paths for npm publish workflow
simeonoff 2cb5f1c
ci: simplify npm tag definition in workflow
simeonoff ec8e089
feat(i18n): implement header translations and optimize search metadata
simeonoff bbb6c9a
build: improve build process with SCSS preprocessing
simeonoff 697a8fe
JA fixes.
randriova 1bb1be2
refactor(styles): add document view transitions
simeonoff File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
|
||
# Change these settings to your own preference | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# We recommend you to keep these unchanged | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.json] | ||
indent_size = 2 | ||
|
||
[*.{html,js,md}] | ||
block_comment_start = /** | ||
block_comment = * | ||
block_comment_end = */ | ||
|
||
[*.scss] | ||
indent_size = 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"plugins": ["prettier-plugin-astro"], | ||
"overrides": [ | ||
{ | ||
"files": "*.astro", | ||
"options": { | ||
"parser": "astro" | ||
} | ||
} | ||
] | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import { defineConfig } from "astro/config"; | ||
import expressiveCode from "astro-expressive-code"; | ||
import pagefind from "astro-pagefind"; | ||
|
||
export default defineConfig({ | ||
output: "static", | ||
outDir: "./site", | ||
build: { | ||
assets: "_assets", | ||
format: "file", | ||
}, | ||
integrations: [ | ||
expressiveCode({ | ||
themes: ["github-light"], | ||
styleOverrides: { | ||
borderRadius: "0", | ||
borderWidth: "1px", | ||
borderColor: "var(--ig-gray-300)", | ||
frames: { | ||
shadowColor: "none", | ||
}, | ||
}, | ||
shiki: { | ||
bundledLangs: ["scss", "html"], | ||
engine: "oniguruma", | ||
}, | ||
defaultProps: { | ||
wrap: true, | ||
}, | ||
}), | ||
pagefind(), | ||
], | ||
vite: { | ||
css: { | ||
preprocessorOptions: { | ||
scss: { | ||
quietDeps: true, | ||
loadPaths: ["./node_modules/"], | ||
}, | ||
}, | ||
}, | ||
}, | ||
}); |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
is this change required? Isnt it this change going to cause issue due to use of
echo ${NPM_TAG}
immediately after setting it via $GITHUB_ENV, because echo "NPM_TAG=..." >> $GITHUB_ENV sets the variable for future steps, not in the current one.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.
I reverted the changes.