-
Notifications
You must be signed in to change notification settings - Fork 0
Old docs
- If there is not your new translation langauge, add issue to https://github.com/Secretchronicles/secretchronicles.github.io/issues about copying English directory en to some new language directory.
- Register and login to GitHub
- At https://github.com/Secretchronicles/secretchronicles.github.io , click button
Fork
to to fork to your GitHub account. - At https://github.com/YOUR-GITHUB-USERNAME/secretchronicles.github.io , Edit some page with pen icon that has tooltip
Edit this page
, for example at directoryes
. Compare changes at directories en, fi, es, for what to change. - At At https://github.com/YOUR-GITHUB-USERNAME/secretchronicles.github.io , click
Contribute / Send Pull Request
Change all below that have BIG CHARACTERS.
sudo apt -y install git
git config --global user.name "YOUR-FIRST-NAME YOUR-LAST-NAME"
git config --global user.email YOUR-GITHUB-EMAIL-ADDRESS
git config --global push.default simple
If you do not have ssh key, create it at your Linux terminal:
ssh-keygen
And press Enter about 3 times, until you have private key at ~/.ssh/id_SOMETHING
and public key at ~/.ssh/id_SOMETHING.pub
Add SSH public key .pub
to your github account to https://github.com/settings/keys
There add your User (GitHub username) and IdentityFile (Your ssh private key. Not public key that has .pub). For indentation, use one tab.
Edit file `
Host *
IdentitiesOnly=yes
Host github.com
Hostname github.com
User YOUR-LOCAL-LINUX-USERNAME
IdentityFile ~/.ssh/id_YOUR-PRIVATE-KEY-NAME
Save and Exit with Ctrl-o Enter Ctrl-x Enter
At webpage https://github.com/Secretchronicles/secretchronicles.github.io at GitHub click button Fork
Then at your Linux computer terminal, type this, change text that uses BIG LETTERS.
After below commands, there will be directory /home/YOUR-LINUX-USERNAME/repos/secretchronicles.github.io
mkdir repos
cd repos
git clone git@github.com:YOUR-GITHUB-USERNAME/secretchronicles.github.io
cd secretchronicles.github.io
Edit /home/YOUR-LINUX-USERNAME/repos/secretchronicles.github.io/index.html
Change to add your language redirect. There is English and Finnish.
At directory