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鈥檒l 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
from

Conversation

Projects
None yet
1 participant
@VincentTam
Copy link

commented Jul 2, 2019

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
You can鈥檛 perform that action at this time.