Skip to content

Github Pages integration #24

Open
Open
@craftoid

Description

In case anyone wants to host their library page on github...

I created a fork, that does exactly that:
https://github.com/bitcraftlab/processing-library-template

Here's what the library page looks like:
https://bitcraftlab.github.io/processing-library-template/

Right now the approach is to publish YourLibrary.zip and YourLibrary.txt files using GitHub releases. To make sure they are always accessible at the same URL, you need to create a release labeled “latest” which needs to be manually updated:
https://github.com/bitcraftlab/processing-library-template/releases/tag/latest

To host the page on github.io you need to activate github pages, and configure it to serve the page from the master:docs folder.

  • If you setproject.dist.platform=GitHub in the build.properties file, the docs folder is created upon build, and index.html will link the zip file on github.
  • If you set project.dist.platform=Webyou get default behaviour

Question:

@prisonerjohn could you check if YourLibrary.txt can be harvested by the processing.org script that checks for updates? There's some redirection going on, but if this is resolved it should work:

curl -L https://github.com/bitcraftlab/processing-library-template/releases/download/latest/YourLibrary.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions