Skip to content
Permalink
Browse files

aronta site structure

  • Loading branch information...
Joan
Joan committed May 7, 2019
1 parent 5cf4aed commit e54fba0e0ee705c1b0a5003d285cbbce0d5c49fb
Showing with 1,518 additions and 146 deletions.
  1. +11 −37 .gitignore
  2. 0 {documentation → }/antora.yml
  3. +0 −17 bin/build.sh
  4. +0 −3 bin/comment-include.sh
  5. +7 −0 bin/createFile.sh
  6. +0 −4 bin/fix-div.sh
  7. +34 −3 bin/quick-build.sh
  8. +0 −55 bin/sitemap.xml
  9. +0 −16 bin/workshop.sh
  10. 0 {documentation → }/modules/ROOT/_attributes.adoc
  11. +5 −0 modules/ROOT/arotna.csv
  12. BIN {documentation → }/modules/ROOT/assets/images/build-proj.png
  13. BIN {documentation → }/modules/ROOT/assets/images/confirmation.png
  14. BIN {documentation → }/modules/ROOT/assets/images/eventing-proj.png
  15. BIN {documentation → }/modules/ROOT/assets/images/knative-operators.png
  16. BIN {documentation → }/modules/ROOT/assets/images/namespaces.png
  17. BIN {documentation → }/modules/ROOT/assets/images/ops-for-subs.png
  18. BIN {documentation → }/modules/ROOT/assets/images/pods-build.png
  19. BIN {documentation → }/modules/ROOT/assets/images/pods.png
  20. BIN {documentation → }/modules/ROOT/assets/images/serving-proj.png
  21. BIN {documentation → }/modules/ROOT/assets/images/sub-config-build.png
  22. BIN {documentation → }/modules/ROOT/assets/images/sub-config-eventing.png
  23. BIN {documentation → }/modules/ROOT/assets/images/sub-config-serving.png
  24. BIN {documentation → }/modules/ROOT/assets/images/sub-config.png
  25. BIN {documentation → }/modules/ROOT/assets/images/subs.png
  26. 0 {documentation → }/modules/ROOT/nav.adoc
  27. 0 {documentation → }/modules/ROOT/pages/_attributes.adoc
  28. +3 −3 {documentation → }/modules/ROOT/pages/assembly_knative-v050-OCP-4x.adoc
  29. 0 {documentation → }/modules/ROOT/pages/con_knative-v050-OCP-4x.adoc
  30. 0 {documentation → }/modules/ROOT/pages/index.adoc
  31. 0 {documentation → }/modules/ROOT/pages/proc_knative-v050-creating-OCP-route-pointing-istio.adoc
  32. 0 {documentation → }/modules/ROOT/pages/proc_knative-v050-install-OCP-4x.adoc
  33. +14 −0 netlify.toml
  34. +1 −0 netlify/.gitignore
  35. +8 −0 netlify/package.json
  36. +1,431 −0 netlify/yarn.lock
  37. +4 −8 site.yml
  38. BIN ui-bundle.zip
@@ -1,39 +1,13 @@
*.iml
.idea
target/
build/
.gradle/
pom.xml.tag
pom.xml.releaseBackup
pom.xml.versionsBackup
pom.xml.next
release.properties
dependency-reduced-pom.xml
buildNumber.properties
.mvn/timing.properties

.cache
/build/
/node_modules/
/.cache/
*rantora.adoc

# Avoid ignoring Maven wrapper jar file (.jar files are usually ignored)
!/.mvn/wrapper/maven-wrapper.jar
.settings
.vscode
.project
.classpath
docs/output/*
/hello.txt
.idea/
work/**/*
!work/README.md
#
**/setenv.sh
/.vscode/
.ts/
.idea
/public/
/TODO/
.idea.

src/**
pom.xml
mvnw
mvnw.cmd
.mvn
gh-pages
node_modules
package.json
dev-site.yml
**/.DS_Store
File renamed without changes.

This file was deleted.

This file was deleted.

@@ -0,0 +1,7 @@
TEMPLATE=./docs/template.adoc
slug=$1
file=$2
export heading=$(q -H -d , "SELECT heading FROM ./docs/arotna.csv WHERE slug = '$slug'")

echo $heading
cat $TEMPLATE | sed -e s/{slug}/$slug/g | sed -e s/{heading}/"$heading"/g > $file

This file was deleted.

@@ -2,10 +2,41 @@
#
# Run from root level of repo, eg ./bin/quick-build.sh local-site.yml

# create nav.adoc
q -H -d , "SELECT prefix ||' xref::' ||slug||'.adoc[' ||navtext|| ']' FROM ./docs/arotna.csv" > ./docs/nav.adoc

# create files if necessary
mapfile -t file_array < <( q -H -d , "SELECT slug FROM ./docs/arotna.csv" )

for slug in "${file_array[@]}"
do
file="./docs/pages/$slug.adoc"
echo $file
if [ ! -f $file ]; then
echo "File not found!"
./bin/createFile.sh $slug $file

fi
done


# create toc into _partials

q -H -d , "SELECT prefix ||' xref::' ||slug||'.adoc[' ||heading|| ']' FROM ./docs/arotna.csv" > ./docs/pages/_partials/toc.adoc

# create rendered assembly

echo ':toc:' > ./docs/master.adoc

echo 'include::pages/index.adoc[leveloffset=0,tags=!excludeDownstream]' >> ./docs/master.adoc

q -H -d , "SELECT 'include::pages/' ||slug||'.adoc[leveloffset='|| level ||']' FROM ./docs/arotna.csv" >> ./docs/master.adoc

# create single.adoc

./bin/asciidoc-coalescer.rb ./docs/master.adoc > ./docs/pages/single.adoc

# generate html

antora $1

#fix html

./bin/fix-div.sh

This file was deleted.

This file was deleted.

File renamed without changes.
@@ -0,0 +1,5 @@
level,prefix,heading,slug,navtext
1,*,
2,**,
2,**,
2,**,
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -8,11 +8,11 @@ include::_attributes.adoc[]


// Knative on OpenShift 4.x cluster overview
include::con_knative-v050-OCP-4x.adoc[leveloffset=+1]
//include::con_knative-v050-OCP-4x.adoc[leveloffset=+1]

// Installing Knative on an OpenShift cluster 4.x using the script provided
include::proc_knative-v050-install-OCP-4x.adoc[leveloffset=+1]
//include::proc_knative-v050-install-OCP-4x.adoc[leveloffset=+1]

// Allowing external access to Knative services for OCP 4.x (Creating an OpenShift Route pointing to the istio-ingressgateway for each of your Knative Service)
include::proc_knative-v050-creating-OCP-route-pointing-istio.adoc[leveloffset=+1]
//include::proc_knative-v050-creating-OCP-route-pointing-istio.adoc[leveloffset=+1]

File renamed without changes.
@@ -0,0 +1,14 @@
[build]
base = "netlify"
publish = "build/site"
command = "node_modules/.bin/antora --html-url-extension-style=indexify --pull ../local-site.yml"

[build.environment]
NODE_VERSION = "10"
BUILD_ONLY = "true"
ANTORA_CACHE_DIR = "node_modules/.cache/antora"

[context.production.environment]

[context.deploy-preview]
command = "node_modules/.bin/antora --html-url-extension-style=indexify --pull --url $DEPLOY_PRIME_URL ../site.yml"
@@ -0,0 +1 @@
/node_modules/
@@ -0,0 +1,8 @@
{
"name": "antora-docs-netlify",
"private": true,
"devDependencies": {
"@antora/cli": "2.0.0",
"@antora/site-generator-default": "2.0.0"
}
}

0 comments on commit e54fba0

Please sign in to comment.
You can’t perform that action at this time.