-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
368 additions
and
151 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ _site | |
.jekyll-cache | ||
.jekyll-metadata | ||
vendor | ||
.obsidian | ||
obsidian-templates |
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,71 @@ | ||
# README for GitHub Documentation Page | ||
|
||
Welcome to the documentation page for our GitHub repository! This repository contains documentation and information related to our project. If you would like to contribute or edit the documentation, please follow the instructions below. | ||
|
||
## Accessing the Documentation Locally | ||
|
||
To view and edit the documentation locally on your computer, you will need to set up a local development environment using Jekyll, which is a popular static site generator. Follow the steps below to get started: | ||
|
||
### Prerequisites | ||
|
||
What you need | ||
- Ruby | ||
- RubyGem | ||
- Bundler | ||
|
||
1. Read the offical installtion guide [Jekyll offical Installation Guide](https://jekyllrb.com/docs/installation/). It will guide your installtion of Ruby and RubyGem step-by-step | ||
- If **Bundler** is not installed: Install Bundler by running `gem install bundler` in your terminal. | ||
|
||
### Setting Up the Local Environment | ||
|
||
1. Clone this repository to your local machine using the following command: | ||
|
||
``` | ||
git clone https://github.com/chrastillab/chrastillab.github.io | ||
``` | ||
|
||
2. Navigate to the repository's root directory: | ||
|
||
``` | ||
cd chrastillab.github.io | ||
``` | ||
|
||
3. Install the required dependencies using Bundler: | ||
|
||
``` | ||
bundle install | ||
``` | ||
|
||
### Viewing the Documentation | ||
|
||
1. Once the dependencies are installed, you can start a local development server by running the following command: | ||
|
||
``` | ||
bundle exec jekyll serve | ||
``` | ||
|
||
2. Open your web browser and visit the following URL: | ||
|
||
[http://127.0.0.1:4000](http://127.0.0.1:4000) | ||
|
||
You should see the documentation website running locally. | ||
|
||
### Editing the Documentation | ||
|
||
1. To make changes to the documentation, navigate to the appropriate Markdown files in the repository's directory structure. | ||
|
||
2. Edit the Markdown files using your preferred text editor. | ||
|
||
3. Save your changes. | ||
|
||
4. Refresh the documentation website in your browser to see your edits. | ||
|
||
### Contributing | ||
|
||
If you'd like to contribute to the documentation, please fork this repository, make your changes, and then submit a pull request. We welcome contributions from the community! | ||
|
||
For more information on how to contribute to this repository, please refer to [Add your own documentation](http://chrastillab.github.io/github_page/) | ||
|
||
Thank you for your interest in improving our documentation! If you have any questions or encounter any issues, please feel free to open an issue on this repository or contact us through our official channels. | ||
|
||
Happy documenting! 📚 |
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 |
---|---|---|
|
@@ -5,22 +5,20 @@ | |
# in the templates via {{ site.myvariable }}. | ||
|
||
title: Chrastil Lab Documentation | ||
email: [email protected] | ||
description: >- # this means to ignore newlines until "baseurl:" | ||
Welcome to the Chrastil Lab Code Documentation Repository on GitHub! This repository serves as the central hub for organizing and sharing the coding documentation related to the research and projects conducted by the Chrastil Lab. | ||
baseurl: "/" # the subpath of your site, e.g. /blog | ||
#domain: "chrastillab.github.io" # the base hostname & protocol for your site, e.g. http://example.com | ||
url: "http://chrastillab.github.io/" # the base hostname & protocol for your site, e.g. http://example.com | ||
#twitter_username: jekyllrb | ||
#github_username: chrastillab | ||
|
||
# Build settings | ||
theme: just-the-docs | ||
plugins: | ||
- jekyll-redirect-from | ||
- jekyll-relative-links | ||
- jekyll-sitemap | ||
- jekyll-seo-tag | ||
|
||
# Build settings | ||
theme: just-the-docs | ||
|
||
logo: "/assets/images/logo.png" | ||
favicon_ico: "/assets/images/brainnn.png" | ||
favicon_ico: "/assets/images/brainnn.ico" | ||
mermaid: | ||
version: "9.1.3" | ||
|
||
|
@@ -56,6 +54,8 @@ collections: | |
|
||
just_the_docs: | ||
collections: | ||
coding: | ||
name: "Coding" | ||
server_management: | ||
name: "Server Management" | ||
misc: | ||
|
@@ -69,4 +69,23 @@ compress_html: | |
kramdown: | ||
syntax_highlighter_opts: | ||
block: | ||
line_numbers: true | ||
line_numbers: true | ||
|
||
# Callout settings | ||
callouts: | ||
warning: | ||
title: Warning | ||
color: red | ||
note: | ||
title: Important | ||
color: blue | ||
highlight: | ||
title: Highlight | ||
color: yellow | ||
new: | ||
title: new | ||
color: green | ||
|
||
exclude: | ||
- .obsidian # I use obsidian to editing Markdown files, here I need to ignore the autogenerated obsidian folder | ||
- obsidian-templates |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
--- | ||
layout: default | ||
title: Adding your own documentation | ||
nav_order: 1 | ||
parent: Write Your Own Documentation! | ||
--- | ||
|
||
# How to add your own documentation to this site | ||
|
||
## Step 1: Fork | ||
![forking](/assets/images/github_page/adding-documentation/fork.png) | ||
|
||
## Step 2: Adding, Editing, Deleting Markdown files on your own forked repository | ||
![commit](/assets/images/github_page/adding-documentation/commit.png) | ||
|
||
## Step 3: Create a pull requests after you've reviewed your changes | ||
![pull request](/assets/images/github_page/adding-documentation/pull_request.png) | ||
|
||
# If you're a reviewer | ||
![review button](/assets/images/github_page/adding-documentation/review_button.png) | ||
![review](/assets/images/github_page/adding-documentation/review.png) | ||
- Now you can merge it !!! |
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
Oops, something went wrong.