diff --git a/doc/conf.py b/doc/conf.py index 87818921..b6874922 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -44,16 +44,16 @@ master_doc = 'index' # General information about the project. project = u'Pungi' -copyright = u'2015, Red Hat, Inc.' +copyright = u'2016, Red Hat, Inc.' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = '4.0' +version = '4.1' # The full version, including alpha/beta/rc tags. -release = '4.0' +release = '4.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/doc/update-docs.sh b/doc/update-docs.sh index 0d0a9b76..e6c61f83 100755 --- a/doc/update-docs.sh +++ b/doc/update-docs.sh @@ -12,6 +12,12 @@ git clone ssh://git@pagure.io/docs/pungi.git /tmp/pungi-doc pushd /tmp/pungi-doc git rm -fr ./* cp -r /tmp/pungi/doc/_build/html/* ./ +pushd /tmp/pungi/doc +git checkout 4.0.x +make html +popd +mkdir 4.0 +cp -r /tmp/pungi/doc/_build/html/* ./4.0/ git add . git commit -s -m "update rendered pungi docs" git push origin master