nteract / semiotic

A data visualization framework combining React & D3
https://semioticv1.nteract.io/
Other
2.43k stars 133 forks source link

Move semiotic-docs to semiotic repo #578

Closed alexeyraspopov closed 2 years ago

alexeyraspopov commented 2 years ago

This PR needs to be merged with Merge strategy to preserve git history

In this PR I migrate docs from semiotic-docs (semi-together branch) to docs folder in this repo

Things I performed to move semiotic-docs while preserving git history:

# get latest version of docs
git clone https://github.com/nteract/semiotic-docs.git
cd semiotic-docs
git checkout semi-together

# move all the contents to a dedicated docs folder
mkdir docs 
git mv <EVERY FILE/FOLDER FROM ROOT> docs
git add .
git commit -m "move semiotic-docs to docs folder"

# switch to local copy of semiotic repo and create this branch
cd ../semiotic
git checkout -b mergeDocs

# setup local git origin and fetch it
git remote add semiotic-docs ../semiotic-docs
git fetch semiotic-docs
git branch semiotic-docs remotes/semiotic-docs/semi-together
git merge semiotic-docs --allow-unrelated-histories

Thus, we get a branch that includes docs folder with contents from semiotic-docs repo and all its git history preserved.

Closes #572

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/nteract/semiotic/AUPAaBce7nrTRkCdnqryecdzVEtV
✅ Preview: https://semiotic-git-mergedocs-nteract.vercel.app