From a48c2c562b75b5fd72ce9de2893ad1c0d518da61 Mon Sep 17 00:00:00 2001 From: szorowi1 Date: Sun, 3 Dec 2023 11:31:24 -0500 Subject: [PATCH] consistent url naming --- README.md | 6 +++--- _config.yml | 2 +- source/contribute/index.md | 6 +++--- themes/OpenCogData/_config.yml | 12 ++++++------ themes/OpenCogData/layout/partial/sidebar.pug | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 4ae71265..67565122 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/_config.yml b/_config.yml index 0e17d3e2..bebcd68a 100644 --- a/_config.yml +++ b/_config.yml @@ -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: diff --git a/source/contribute/index.md b/source/contribute/index.md index 324d46b9..13b44e5e 100644 --- a/source/contribute/index.md +++ b/source/contribute/index.md @@ -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).

How to submit a dataset

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. @@ -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: https://forms.gle/N87Dqhs73vbfoPec8

2. Submit a pull request

-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 markdown using a standardized, easy-to-copy template. 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 markdown using a standardized, easy-to-copy template. 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.

3. Open an issue

-To flag a dataset for entry into the database, you can open a new issue via GitHub. 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 new issue via GitHub. Please provide a link to a repository for the data and, if available, a link to a corresponding manuscript describing the data. diff --git a/themes/OpenCogData/_config.yml b/themes/OpenCogData/_config.yml index 7ebb3085..d88e8577 100644 --- a/themes/OpenCogData/_config.yml +++ b/themes/OpenCogData/_config.yml @@ -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: @@ -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 diff --git a/themes/OpenCogData/layout/partial/sidebar.pug b/themes/OpenCogData/layout/partial/sidebar.pug index d3a9a637..2a038540 100644 --- a/themes/OpenCogData/layout/partial/sidebar.pug +++ b/themes/OpenCogData/layout/partial/sidebar.pug @@ -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