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

Workaround for Staticman bug #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

VincentTam
Copy link

Goal

Provide a workaround for eduardoboucas/staticman#279.

Since I can't open an issue, I've made this PR instead. The main point is to use an alternative API instance instead of the official one to avoid unexpected service interruption caused by unnotified updates on the official one. You may choose either self-hosting your own instance or use an existing one.

P.S. I've authored daattali/beautiful-jekyll#440, which is essentially a port of Minimal Mistake's Staticman integration, but defaulting to @staticmanlab that I've created.

👷‍♂️ Staticman configurations with screenshots

📧 Please don't hesitate to ping me on GitHub/GitLab/leave a comment on my blog/send me an email to ask for help.

  1. 🏁 Invite @staticmanlab as a collaborator to your repository (by going to your repository Settings page, navigate to the Collaborators tab).
    send invitation to Staticman Lab
    Image short link: https://git.io/fjZPx

  2. ☑️ Help @staticmanlab accept the invitation by going to

     https://staticman3.herokuapp.com/v3/connect/github/<username>/<repo-name>
    

    In your case, that's

     https://staticman3.herokuapp.com/v3/connect/github/PGui/pgui.github.io
    

    Staticman Lab invitation accepted
    Figure: image showing setup for my fork of this theme
    Image short link: https://git.io/fjZXG

    Staticman Lab shown as collaborator
    Figure: @staticmanlab invited to GitHub repo
    Image short link: https://git.io/fjZXZ

  3. ✍️ Fill in your repository and branch in the Staticman section of _config.yml.

     # Staticman support 
     staticman: 
       ...
       endpoint   : # I've edited that for you, but feel free to change it to your favorite one.
       ...
  4. 📝 Start commenting.

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

Successfully merging this pull request may close these issues.

1 participant