Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt doc site from open ephys #11

Open
matiasandina opened this issue Apr 4, 2022 · 3 comments
Open

Adapt doc site from open ephys #11

matiasandina opened this issue Apr 4, 2022 · 3 comments

Comments

@matiasandina
Copy link
Collaborator

matiasandina commented Apr 4, 2022

The page is building but it's looking for an index.html on the repo that isn't being created or is not pushed to Github for some reason.

If you check here, https://github.com/open-ephys/shuttledrive-docs/tree/gh-pages, github actions is creating the index.html (and all other files) for the page to actually work.

Anyhow, right now it's not rendering as expected and we get a sort of 404 error. I think some of the config files are using open ephys info. I think we are not seeing the gh-pages branch because this line is trying to commit to the open ephys repo instead of this repo.

git clone https://github.com/open-ephys/shuttledrive-docs.git --branch gh-pages --single-branch gh-pages

I think there might be some token creation step that might also be missing:
See here where token is trying to be used to push to the gh-pages branch

# 3. Push changes to gh-pages branch (updates documentation page)
- name: Push changes
uses: ad-m/github-push-action@master
with:
branch: gh-pages
directory: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}

Maybe this tutorial helps?

@ahleighton
Copy link

Hi! I took a look at the docs generation. A lot of the config was still set to Open Ephys repos etc., so I've adjusted that to FED3, and manually added a gh-pages branch with a nojekyll file; my fork now generates the doc site as expected.

@matiasandina
Copy link
Collaborator Author

matiasandina commented Sep 7, 2022

Great, thank you so much for doing this. @KravitzLab Should we merge that branch and proceed with migrating the docs there?

@KravitzLab
Copy link
Member

KravitzLab commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants