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

[IN_PROGRESS]Merge moorereason:docs1648 into master #1696

Closed
wants to merge 21 commits into from

Conversation

spf13
Copy link
Contributor

@spf13 spf13 commented Dec 9, 2015

No description provided.

bep and others added 21 commits November 25, 2015 23:11
Was v{{ .Hugo.Version }} or v0.15-DEV at the time of writing.
Include my Blogpost about using Hugo together with git to automatically
generate the site when you push it into your Repo using a Git Hook (German).
Updated output of commands. Removed unneeded flags such as
--watch. Didn't resist the temptation to reword some parts.
It was confusing that the command was not in step 5, while it is in step 6.
Also add a note saying that these blackfriday flags are
very case-sensitive as of Hugo v0.15.

Thanks to @ryanclarke for noticing the change in behaviour.

See also gohugoio/hugo@5838420
Also tweaks language used in page params sentence.
the the skeleton's ->
the theme skeleton's
The `gh` shortcode has two modes: users and issues.  For user mode, pass a list
of `@username` arguments.  For the issues/PR mode, pass a list of issue or PR
numbers.  PRs link to the "issues/" URL since Github redirects to the correct
URL.

Thanks to @ryanclarke for suggesting an improved template.
to make it more readily recognizable.
@moorereason
Copy link
Contributor

Am I going about this the wrong way? I was going to resubmit the changes to master in a separate PR. What's the preferred workflow here?

@anthonyfok
Copy link
Member

Hi @spf13,

I modified the prdocs bash function that you gave me so that cherry-picking from #1695 (which was based against v0.15.docs rather than master) works with prdocs-from-v0.15.docs-branch 1695:

function prdocs-from-v0.15.docs-branch() {
    if [ $# -lt 1 ]
    then
        echo "Error! Missing Pull Request ID #."
    else

        target="master"
        docs="v0.15.docs"
        cur=`git rev-parse --abbrev-ref HEAD`
        git fetch origin refs/pull/$1/head:PR-$1;
        git checkout PR-$1;

        commitcount=`git log --cherry-pick --oneline --reverse $docs..PR-$1 | wc -l | sed -e 's/^ *//' -e 's/ *$//'`
        echo -e "\n**** Attempting to cherry pick $commitcount commits ****\n "
        for sha in `git log --cherry-pick --oneline --reverse $docs..PR-$1 | awk '{print $1}'`; do
            git checkout $target;
            git cherry-pick $sha
            git checkout $docs
            git cherry-pick $sha
        done

        git branch -D PR-$1;
        git checkout $cur
    fi
}

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.