forked from hyperledger-archives/composer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add in the concept of stable,unstable and release yml files for travis (
hyperledger-archives#2940) Pick these based on the branch of the build. Signed-off-by: Matthew B White <[email protected]>
- Loading branch information
Showing
15 changed files
with
90 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,18 +27,13 @@ export TODIR="${DIR}/packages/composer-website/out/gh-pages" | |
# Load the GitHub repository using the gh-pages branch. | ||
git clone -b gh-pages [email protected]:${TRAVIS_REPO_SLUG}.git ${TODIR} | ||
|
||
# If this is a full docs build, copy the docs into the GitHub repository as the main website. | ||
if [ "${DOCS}" == "full" ]; then | ||
rm -rf ${TODIR}/* | ||
cp -rf ${DIR}/packages/composer-website/jekylldocs/_site/* ${TODIR}/ | ||
fi | ||
|
||
# Always copy the docs into the GitHub repository as the unstable website. | ||
mkdir -p ${TODIR}/unstable | ||
rm -rf ${TODIR}/unstable/* | ||
cp -rf ${DIR}/packages/composer-website/jekylldocs/_site/* ${TODIR}/unstable/ | ||
|
||
# Add all the changes, commit, and push to the GitHub repository. | ||
# Should be able to copy all the docs as needed | ||
mkdir -p ${TODIR}/${DOCS} | ||
rm -rf ${TODIR}/${DOCS}/* | ||
cp -rf ${DIR}/packages/composer-website/jekylldocs/_site/* ${TODIR}/${DOCS}/ | ||
|
||
echo "<meta http-equiv=\"refresh\" content=\"0; url=stable/index.html\" />" > ${TODIR}/index.html | ||
|
||
cd ${TODIR} | ||
git add . | ||
git commit -m "Automatic deployment of website" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
baseurl: "/composer/latest" | ||
status: "latest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
baseurl: "/composer/stable" | ||
status: "stable" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
baseurl: "/composer/unstable" | ||
status: "unstable" |
2 changes: 1 addition & 1 deletion
2
packages/composer-website/jekylldocs/assets/css/grid-layout.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
packages/composer-website/jekylldocs/assets/css/new-style.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
packages/composer-website/jekylldocs/assets/css/new-style.min.css.map
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,6 @@ h2 { | |
font-family: $font-stack; | ||
font-weight: 300; | ||
font-size: 1.35rem; | ||
// letter-spacing: 0.4px; | ||
line-height: 130%; | ||
color: $primary-text; | ||
} | ||
|
@@ -862,179 +861,50 @@ li { | |
|
||
} | ||
|
||
h2.everybody { | ||
background-color: #e1e1e1; | ||
background-image: url("../img/Artboard [email protected]"); | ||
background-repeat: no-repeat; | ||
background-position: left 5px center; | ||
background-size: 32px 32px; | ||
// background-origin: content-box; | ||
border-radius: 5px; | ||
max-width: 100%; | ||
padding: 5px 5px 5px 48px; | ||
text-align: center; | ||
} | ||
// Needs further cleanup | ||
|
||
h2.alice { | ||
background-color: #e1f7d5; | ||
background-image: url("../img/[email protected]"); | ||
background-repeat: no-repeat; | ||
background-position: left 5px center; | ||
background-size: 32px 32px; | ||
// background-origin: content-box; | ||
border-radius: 5px; | ||
max-width: 100%; | ||
padding: 5px 5px 5px 48px; | ||
text-align: left; | ||
} | ||
h2 { | ||
&.everybody { | ||
background-color: #e1e1e1; | ||
background-image: url("../img/Artboard [email protected]"); | ||
background-repeat: no-repeat; | ||
background-position: left 5px center; | ||
background-size: 32px 32px; | ||
border-radius: 5px; | ||
max-width: 100%; | ||
padding: 5px 5px 5px 48px; | ||
text-align: center; | ||
} | ||
|
||
h2.bob { | ||
background-color: #c9c9ff; | ||
background-image: url("../img/[email protected]"); | ||
background-repeat: no-repeat; | ||
background-position: right 5px center; | ||
background-size: 32px 32px; | ||
// background-origin: content-box; | ||
border-radius: 5px; | ||
max-width: 100%; | ||
padding: 5px 48px 5px 5px; | ||
text-align: right; | ||
} | ||
&.alice { | ||
background-color: #e1f7d5; | ||
background-image: url("../img/[email protected]"); | ||
background-repeat: no-repeat; | ||
background-position: left 5px center; | ||
background-size: 32px 32px; | ||
border-radius: 5px; | ||
max-width: 100%; | ||
padding: 5px 5px 5px 48px; | ||
text-align: left; | ||
} | ||
|
||
h3.warning { | ||
background-color: #f6d155; | ||
// background-origin: content-box; | ||
border-radius: 5px; | ||
max-width: 100%; | ||
padding: 5px 5px 5px 5px; | ||
text-align: left; | ||
} | ||
&.bob { | ||
background-color: #c9c9ff; | ||
background-image: url("../img/[email protected]"); | ||
background-repeat: no-repeat; | ||
background-position: right 5px center; | ||
background-size: 32px 32px; | ||
border-radius: 5px; | ||
max-width: 100%; | ||
padding: 5px 48px 5px 5px; | ||
text-align: right; | ||
} | ||
|
||
// Docs styling updates | ||
|
||
// nav { | ||
// .container { | ||
// padding-top: 5px; | ||
// } | ||
// } | ||
// | ||
// .context-nav { | ||
// a { | ||
// padding-left: 1rem; | ||
// border: none; | ||
// border-left: 2px solid transparent; | ||
// transition: none; | ||
// | ||
// &:hover { | ||
// color: $first-highlight; | ||
// border-left: 2px solid $second-highlight; | ||
// transition: none; | ||
// } | ||
// | ||
// &:last-child { | ||
// padding-left: 0; | ||
// border: none; | ||
// } | ||
// | ||
// &:active { | ||
// color: $first-highlight; | ||
// } | ||
// | ||
// + strong { | ||
// a { | ||
// padding-top: 1.5rem; | ||
// border-left: none; | ||
// } | ||
// } | ||
// } | ||
// } | ||
// | ||
// .SiteWrapper { | ||
// .content { | ||
// .container { | ||
// .content-chunk { | ||
// | ||
// p { | ||
// margin-top: 1.3rem; | ||
// } | ||
// | ||
// h1 { | ||
// font-weight: 300; | ||
// font-size: 2em; | ||
// } | ||
// | ||
// h2 { | ||
// margin-top: 2rem; | ||
// } | ||
// | ||
// h3 { | ||
// font-family: $font-stack; | ||
// font-weight: 300; | ||
// font-size: 1.2rem; | ||
// line-height: 130%; | ||
// color: $primary-text; | ||
// margin-top: 2rem; | ||
// } | ||
// | ||
// pre { | ||
// background-color: $third-highlight; | ||
// border: 1px solid $keyline-highlight; | ||
// } | ||
// | ||
// code { | ||
// border-radius: 2px; | ||
// padding-right: 5px; | ||
// padding-top: 1px; | ||
// padding-bottom: 1px; | ||
// } | ||
// | ||
// ul { | ||
// list-style: none; | ||
// padding-left: 2em; | ||
// text-indent: -1em; | ||
// | ||
// li:before { | ||
// color: $primary-text; | ||
// content: '- \0000a0'; | ||
// font-size: 1rem; | ||
// font-weight: 600; | ||
// } | ||
// | ||
// li { | ||
// padding-bottom: 0.5rem; | ||
// p { | ||
// display: inline; | ||
// } | ||
// | ||
// } | ||
// } | ||
// | ||
// ol { | ||
// border-left: 1px solid $keyline-highlight; | ||
// li { | ||
// margin-top: 1.3rem; | ||
// } | ||
// } | ||
// | ||
// a { | ||
// color: $first-highlight; | ||
// } | ||
// } | ||
// } | ||
// } | ||
// } | ||
// | ||
// // Docs Footer | ||
// | ||
// .docs-footer { | ||
// // position: absolute; | ||
// // bottom: 0; | ||
// background-color: $sixth-highlight; | ||
// } | ||
// | ||
// // 404 page | ||
// .container { | ||
// .404-info { | ||
// | ||
// } | ||
// } | ||
&.warning { | ||
background-color: #f6d155; | ||
border-radius: 5px; | ||
max-width: 100%; | ||
padding: 5px 5px 5px 5px; | ||
text-align: left; | ||
} | ||
} |
Oops, something went wrong.