ACG Website: move from HostMonster to GitHub, layout and settings #33
Replies: 7 comments 32 replies
-
Never mind, I found the answer! |
Beta Was this translation helpful? Give feedback.
-
I think the easiest is to find a remote Jekyll theme and apply it, for example: |
Beta Was this translation helpful? Give feedback.
-
This one looks like an interesting starting point: https://jekyllthemes.io/theme/just-the-docs |
Beta Was this translation helpful? Give feedback.
-
This is provided by github too! You can do that with a "Release". See the EGSnrc releases for an example. When you create a "Release", the entire repository is attached as both a You can structure Releases as you wish. For a website, it stands to reason that you would one maintain a single "Release", which would always be kept up to date. Let me know if you want to experiment with that right away, or set this aside for a rainy day! |
Beta Was this translation helpful? Give feedback.
-
I uploaded several 10s of MB of .pdf files and squash and merged the whole thing. I am not exactly following the folder structure of the original website. The folder The website https://a-cosmology-group.github.io/acg/ is posted correctly but some error messages are generated. I will look into that later. |
Beta Was this translation helpful? Give feedback.
-
very informative |
Beta Was this translation helpful? Give feedback.
-
@marmetl You are really getting the hang of this! Indeed, working on the github interface (pull request, issues, etc.) is useful to interact with the community who submit ideas or bugs. But working with git on a local clone and pushing to the repo is much more convenient. There are software guis that are very nice to work locally, if the terminal is not your thing (VS Code with github integration, GitKraken, etc., there is a zoo of them). For squashing in the terminal, the command you are looking for is Git rebase is a slightly complex commands, as it is a two-step process. You are first presented with a list of commits from the rebase
( This is where you tell git how you want to rewrite the commit history: by changing the first word on the line for each commit (initially Upon saving and quitting the editor, git will proceed with rewriting the history accordingly. When squashing, you will be presented with the opportunity to edit the squashed commit message, which by default is a concatenation of all the messages from the squashed commits. There are many other options in rebase, like reordering commits (by reordering the lines), Finally, "rewriting history" is not recommended if you have already shared the commits publicly: collaborators might have started forks or modifications on the existing commits. Due to the "cryptographic blockchain" nature of the commit references (hashes of changes, metadata, and the parent commit hash), rebasing implies that all rebased commits will acquire a new commit reference. That is why it is a good practice to work on side-branches, and merge the resulting commit or branch into |
Beta Was this translation helpful? Give feedback.
-
I am trying to find the quickest way to change the appearance of the website so that there will be an index of the site in a separate column that will show the folder structure.
I started reading the manual Quickstart for GitHub Pages where they have the settings for the webpage in the file
_config.yml
. However in our repo the file is called_config.yaml
.Is there a reason for the different name?
Beta Was this translation helpful? Give feedback.
All reactions