-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v2-docs: Update release instructions, add sync_docs script (#540)
* update RELEASE, add sync_docs script * pixi task
- Loading branch information
Showing
14 changed files
with
136 additions
and
47 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
--- | ||
date: 2022-01-19 | ||
category: Release | ||
author: Jon Mease | ||
--- | ||
|
||
# Announcing VegaFusion 0.0.1 | ||
# VegaFusion 0.0.1 | ||
The first public version of VegaFusion has been released as 0.0.1. Full project announcement to follow! |
This file contains 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 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 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 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 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 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 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,22 @@ | ||
--- | ||
date: 2024-11-13 | ||
category: Release | ||
author: Jon Mease | ||
--- | ||
|
||
# VegaFusion 2.0 | ||
**A new era: Building blocks for scaling Vega visualizations:** | ||
|
||
By: Jon Mease | ||
|
||
--- | ||
|
||
Details to follow... | ||
|
||
## Learn more | ||
Check out these resources to learn more: | ||
- [2.0.0 Changelog](https://github.com/hex-inc/vegafusion/releases/tag/v2.0.0) | ||
- [VegaFusion Documentation](https://vegafusion.io/) | ||
- [VegaFusion GitHub](https://github.com/hex-inc/vegafusion) | ||
- [Report and Issue](https://github.com/hex-inc/vegafusion/issues) | ||
- [Start a Discussions](https://github.com/hex-inc/vegafusion/discussions) |
This file contains 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,10 @@ | ||
# Blog Posts | ||
|
||
:::{postlist} 5 | ||
:date: '%Y-%m-%d' | ||
:format: '{date} - {title}' | ||
:excerpts: | ||
::: | ||
|
||
|
||
|
This file contains 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,48 @@ | ||
#!/bin/bash | ||
|
||
# get git hash for commit message | ||
GITHASH=$(git rev-parse HEAD) | ||
MSG="doc build for commit $GITHASH" | ||
cd build | ||
|
||
# clone the repo if needed | ||
if test -d vegafusion.github.io; | ||
then rm -rf vegafusion.github.io; | ||
fi | ||
|
||
git clone https://github.com/vegafusion/vegafusion.github.io.git; | ||
|
||
# sync the website | ||
cd vegafusion.github.io | ||
git pull | ||
|
||
# switch to gh-pages branch | ||
git checkout gh-pages | ||
|
||
|
||
# When the v2 docs become the default, overwrite everything in the branch | ||
# ----------------------------------------------------------------------------- | ||
# remove all tracked files | ||
# git ls-files -z | xargs -0 rm -f | ||
# | ||
# # sync files from html build | ||
# rsync -r ../html/ ./ | ||
# ----------------------------------------------------------------------------- | ||
|
||
# While the v1 docs are still the default, only sync the new docs under the v2/ folder | ||
# ----------------------------------------------------------------------------- | ||
rsync -r ../html/ ./v2/ | ||
# ----------------------------------------------------------------------------- | ||
|
||
# add commit, and push to github | ||
git add . --all | ||
git commit -m "$MSG" | ||
|
||
# Add confirmation prompt before pushing | ||
read -p "Ready to push to gh-pages branch. Continue? (y/n) " answer | ||
if [[ $answer == "y" || $answer == "Y" ]]; then | ||
git push origin gh-pages | ||
else | ||
echo "Push cancelled" | ||
exit 1 | ||
fi |
This file contains 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