Skip to content

Cannot use site.github namespace for local development #1

@aliuk2012

Description

@aliuk2012

Having spoken to GitHub support team, there does not appear to be an easy way to use site.github namespace when developing locally.

There are some options to try implement it and make it easier to develope the frontend/layouts of the templates when developing locally:

  1. Use JavaScript to call GitHub API but I believe there is a limit on the number of requests that can be made. Also it would mean the user would have to have JavaScript enabled and does appear to be a good option.
  2. Create a secondary config file which we can call before building the pages. It would mean that we might have to push the changes to the Github to get the value we want to use and then we create it in config file.

I'm going to implement it as part of option 2. as it seems to be a the easiest way to be able to use site.github namespace in the templates.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions