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

Support for multiple pages from the same repo #724

Closed
stsrki opened this issue Oct 21, 2020 · 22 comments
Closed

Support for multiple pages from the same repo #724

stsrki opened this issue Oct 21, 2020 · 22 comments

Comments

@stsrki
Copy link

stsrki commented Oct 21, 2020

Hi, sorry if this is not the right repository for this ticket.

The problem:

Currently, I'm using GitHub pages for the documentation of my project. It is served from the docs folder on master branch. And this part works well.

My problem is that most of the time I'm developing on dev branches. While developing a new release of my project I also update documentation and release previews from time to time. This all happens on the dev branch. People regularly use the preview if their own project depends on some new features. Since each milestone can take a month or two, which is a long time, the live documentation is not in sync with the documentation in preview.

Proposal

If possible, add support to choose one or more branches or folders from where the GitHub pages will be served. eg

image

Where each GitHub page will have its own domain name.

**
I know there are CMSs out there that can support versioning, but if possible I would prefer it like this because often I don't need to have an option to choose an older version of the documentation. Just, what is currently supported on my project.

@MAGICCC
Copy link

MAGICCC commented Apr 28, 2021

Yes that would be really nice. Also an option for each branch all together would be uber cool.

@motherchucker
Copy link

I hope they implement that feature...

@stsrki
Copy link
Author

stsrki commented Oct 22, 2021

With the lack of any response from the GH team, it seems like this will never be done. Shame really.

@yoannchaudet
Copy link
Contributor

Hello, Pages team here!

Sorry for missing this issue. We have more people monitoring the community forum for product related questions/support.

I can shade a bit of light on this ask though! While this is not something we support today, we do have plans for something related. We want to introduce Pages previews/drafts as a way to get ephemeral Pages deployments from the context of a pull request (or potentially a branch). These previews/drafts would get a different URL and would not support things such as custom domains.

I hope that clarifies few things. Happy to collect feedback/suggestions. I don't have an ETA to share around that but I do hope we can start that work in the first quarter of 2022.

@felhag
Copy link

felhag commented Mar 27, 2022

@yoannchaudet Any updates on this? Did find this post on the forum about the issue but it doesn't give much answers. Also couldn't find anything about it on the roadmap board either.

@yoannchaudet
Copy link
Contributor

@felhag We made internal progress on Pages preview support (= the ability to publish a preview site for an individual pull request). This is not ready for prime time just yet but is something we will continue to flesh out (internal teams at GitHub are starting to use it as I write). Still too early to end up on our committed roadmap while we figure out some product aspects.

@felhag
Copy link

felhag commented Mar 29, 2022

Thanks for the quick response, looking forward to it!

@erob123
Copy link

erob123 commented May 12, 2022

@felhag We made internal progress on Pages preview support (= the ability to publish a preview site for an individual pull request). This is not ready for prime time just yet but is something we will continue to flesh out (internal teams at GitHub are starting to use it as I write). Still too early to end up on our committed roadmap while we figure out some product aspects.

@felhag what would be the chances of being added to beta test that feature? I don't care if it isn't ready for prime time, but would love to be building out some of my work with that setup in mind. Even if it is buggy :)

@felhag
Copy link

felhag commented May 12, 2022

@erob123 Think this was supposed to be mentioned to @yoannchaudet :)

@erob123
Copy link

erob123 commented May 12, 2022

@erob123 Think this was supposed to be mentioned to @yoannchaudet :)

@felhag lol yep thx. @yoannchaudet , thoughts? What would be the chances of being added to beta test the pages preview feature? I don't care if it isn't ready for prime time, but would love to be building out some of my work with that setup in mind. Even if it is buggy :)

@gouravkhunger
Copy link

same as @erob123, I'd like to be beta testing this feature for @genicsblog :D

@wildone
Copy link

wildone commented Jul 29, 2022

@yoannchaudet +1 for beta testing!

@pwolanin
Copy link

pwolanin commented Aug 2, 2022

Would love this feature also

@taylorjdawson
Copy link

@yoannchaudet update on this? And my organisation would also be interested in beta testing 👍🏾

@yoannchaudet
Copy link
Contributor

This is not going to happen for some time I am afraid. The team is focusing on different priorities for a few quarters at least.

@orvn
Copy link

orvn commented Dec 1, 2022

+1

This is becoming a more common use case with the rise of monorepos. I have several repos that have multiple packages/workspaces within them, two of which output a static site (one is a front-facing website, whereas the other one is a docs site).

Currently, only one can be shipped to Github Pages, so I have to use another service (Cloudflare Pages, Netlify, etc.) to meet my needs.

@mathulbrich
Copy link

mathulbrich commented Dec 20, 2022

@yoannchaudet +1 for beta testing

@MoMannn
Copy link

MoMannn commented Feb 9, 2023

Any progress on this?

@trajan0x
Copy link

Would also love to see this

@lukasmittag
Copy link

Would be really ncie feature!

@yoannchaudet
Copy link
Contributor

https://github.com/orgs/community/discussions/categories/pages would be a better place for this feature request.

@felhag
Copy link

felhag commented Feb 18, 2023

@yoannchaudet Created a feature request over there :)

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