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

Set up GitHub Pages and deploy the docs #198

Closed
2 tasks done
arnaucasau opened this issue Feb 5, 2024 · 1 comment
Closed
2 tasks done

Set up GitHub Pages and deploy the docs #198

arnaucasau opened this issue Feb 5, 2024 · 1 comment

Comments

@arnaucasau
Copy link
Contributor

arnaucasau commented Feb 5, 2024

The project now has the workflows to deploy the documentation to a branch called gh-pages, but we need to perform the first deployment and set up the repo to use GitHub Pages by following these instructions. Once the GitHub Pages is set up please update the repo's About section to display the new link.

  • Deployment to the gh-pages branch
  • Set up GitHub Pages

Instructions

Warning

Before starting with the process, you need to add a new branch called gh-pages. This branch needs to have that name to ensure the workflows can deploy successfully. You can create it manually, or, in case you have the new workflows, it will be created automatically after the first deployment (Better option).

Once you have the branch gh-pages created, you can follow the following steps:

  1. Navigate to your site's repository
  2. Click Settings
  3. Go to Pages
  4. Select Deploy from a branch, under the Source section on Build and deployment
  5. Select the gh-pages branch and the / (root) folder in the Branch section on Build and deployment

GitHubPages-example

The default URL where you can find your site is https://qiskit-extensions.github.io/mthree

For further information, you can see the GitHub Pages Quickstart and Qiskit/ecosystem#578.

@arnaucasau arnaucasau changed the title Set up GitHub Pages and deploy the docs Set up GitHub Pages and deploy the docs and update the About section Feb 6, 2024
@arnaucasau arnaucasau changed the title Set up GitHub Pages and deploy the docs and update the About section Set up GitHub Pages and deploy the docs Feb 6, 2024
@mtreinish
Copy link
Contributor

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

2 participants