Skip to content

Commit

Permalink
consistent url naming
Browse files Browse the repository at this point in the history
  • Loading branch information
szorowi1 committed Dec 3, 2023
1 parent 7e71811 commit a48c2c5
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ Have a dataset to submit? Fill out this form: https://forms.gle/N87Dqhs73vbfoPec

## Contributing

To contribute to OpenCogData, please see the [contributing](https://nimh-dsst.github.io/opencogdata/contribute) page.
To contribute to OpenCogData, please see the [contributing](https://nimh-dsst.github.io/OpenCogData/contribute) page.

### Previewing the demos page locally

If you'd like to preview OpenCogData locally (for example, in the process of proposing a change):

1. Clone down the project's repository (`git clone https://github.com/nimh-dsst/opencogdata`)
1. Clone down the project's repository (`git clone https://github.com/nimh-dsst/OpenCogData`)
2. `cd` into the project's directory
3. Run `npm install` to install the necessary dependencies
4. Run `hexo generate` to generate the site
5. Run `hexo server` to start the preview server
6. Visit `localhost:4000/opencogdata` in your browser to preview the project
6. Visit `localhost:4000/OpenCogData` in your browser to preview the project

If you do not already have Hexo installed, please see their [installation page](https://hexo.io/docs/#Installation).
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ timezone: ''

# URL
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
url: https://nimh-dsst.github.io/opencogdata/
url: https://nimh-dsst.github.io/OpenCogData/
permalink: :post_title/
permalink_defaults:
pretty_urls:
Expand Down
6 changes: 3 additions & 3 deletions source/contribute/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Contributing to OpenCogData
date: 2023-12-03 00:00:00
---

Contributions to OpenCogData are welcome! All of the code is managed through the [GitHub repository](https://github.com/nimh-dsst/opencogdata).
Contributions to OpenCogData are welcome! All of the code is managed through the [GitHub repository](https://github.com/nimh-dsst/OpenCogData).

<h2 style="margin: 1em 0em 0.5em 0em">How to submit a dataset</h2>
There are three main ways you can submit a dataset for entry to OpenCogData, which are described in turn below. Note that they are ranked in order of preference, from most preferred to least preferred, by the maintainers of OpenCogData.
Expand All @@ -12,7 +12,7 @@ There are three main ways you can submit a dataset for entry to OpenCogData, whi
Have a dataset to submit? Fill out this form: <a href="https://forms.gle/N87Dqhs73vbfoPec8" target="_blank">https://forms.gle/N87Dqhs73vbfoPec8</a>

<h3 style="margin: 1.33em 0em 0.5em 0em">2. Submit a pull request</h3>
To directly add a dataset yourself, you can open a pull request on Github. First you should fork the OpenCogData library via GitHub and make modifications on your fork. The OpenCogData database is written in <a href="https://www.markdownguide.org/cheat-sheet/" target="_blank">markdown</a> using a standardized, easy-to-copy <a href="https://github.com/nimh-dsst/opencogdata/blob/docs/templates/post.md" target="_blank">template</a>. To add a dataset, add a markdown file named with the format `{firs_authors_last_name.lower()}{year}.md` to the `source/contribute` directory. Once your modification is complete, submit a pull request to merge your changes into the docs branch of OpenCogData. Pull requests will be reviewed by the maintainers.
To directly add a dataset yourself, you can open a pull request on Github. First you should fork the OpenCogData library via GitHub and make modifications on your fork. The OpenCogData database is written in <a href="https://www.markdownguide.org/cheat-sheet/" target="_blank">markdown</a> using a standardized, easy-to-copy <a href="https://github.com/nimh-dsst/OpenCogData/blob/docs/templates/post.md" target="_blank">template</a>. To add a dataset, add a markdown file named with the format `{firs_authors_last_name.lower()}{year}.md` to the `source/contribute` directory. Once your modification is complete, submit a pull request to merge your changes into the docs branch of OpenCogData. Pull requests will be reviewed by the maintainers.

<h3 style="margin: 1.33em 0em 0.5em 0em">3. Open an issue</h3>
To flag a dataset for entry into the database, you can open a <a href="https://www.github.com/nimh-dsst/opencogdata/issues/new" target="_blank">new issue via GitHub</a>. Please provide a link to a repository for the data and, if available, a link to a corresponding manuscript describing the data.
To flag a dataset for entry into the database, you can open a <a href="https://www.github.com/nimh-dsst/OpenCogData/issues/new" target="_blank">new issue via GitHub</a>. Please provide a link to a repository for the data and, if available, a link to a corresponding manuscript describing the data.
12 changes: 6 additions & 6 deletions themes/OpenCogData/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ footbar:

# Social Links
# If you want to add more, go to sidebar.pug
github: https://github.com/nimh-dsst/opencogdata
github: https://github.com/nimh-dsst/OpenCogData
mail:
zhihu:
QQ:
Expand All @@ -33,11 +33,11 @@ weibo:

# Nav menu
menu:
Home: /opencogdata
Archives: /opencogdata/archives
Tags: /opencogdata/tags
About: /opencogdata/about
Contribute: /opencogdata/contribute
Home: /OpenCogData
Archives: /OpenCogData/archives
Tags: /OpenCogData/tags
About: /OpenCogData/about
Contribute: /OpenCogData/contribute
# Links: /links

# Navbar rightbtn
Expand Down
2 changes: 1 addition & 1 deletion themes/OpenCogData/layout/partial/sidebar.pug
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
.title
img(src= url_for(theme.logo_dir),style=theme.logo_style, alt="favicon")
h3(title="")
a(href="/opencogdata")= config.title
a(href="/OpenCogData")= config.title
if theme.description
.description
p!= theme.description
Expand Down

0 comments on commit a48c2c5

Please sign in to comment.