forked from thoughtspot/help-software
-
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.
Showing
11 changed files
with
168 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
site: | ||
title: ThoughtSpot Documentation | ||
url: https://help-cloud-thoughtspot.netlify.app | ||
start_page: home::index.adoc | ||
content: | ||
sources: | ||
# embedding empty credentials in the URL disables the Edit this Page link for any page created from this repository | ||
- url: . | ||
branches: HEAD | ||
start_path: home | ||
- url: [email protected]:thoughtspot/thoughtspot-docs.git | ||
# Cloud docs branches | ||
branches: ['8.9.0.cl','8.10.0.cl'] | ||
start_path: cloud/ | ||
urls: | ||
# latest_version_segment_strategy: redirect:to | ||
# latest_version_segment: latest | ||
html_extension_style: drop | ||
ui: | ||
bundle: | ||
# url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/master/raw/build/ui-bundle.zip?job=bundle-stable | ||
url: ui-bundle/ui2-bundle.zip | ||
supplemental_files: | ||
- path: .nojekyll | ||
- path: ui.yml | ||
contents: "static_files: [ .nojekyll ]" | ||
snapshot: true | ||
asciidoc: | ||
attributes: | ||
#software: true | ||
#cloud: false | ||
help: '' | ||
page-company: ThoughtSpot | ||
tabs: tabs | ||
support-url: https://community.thoughtspot.com/customers/s/contactsupport[ThoughtSpot Support^] | ||
seekwell: SeekWell | ||
cl-subscription-agreement: https://www.thoughtspot.com/legal/thoughtspot-cloud-subscription-agreement[subscription agreement^] | ||
extensions: | ||
- "@djencks/asciidoctor-tabset-block" | ||
output: | ||
clean: true | ||
dir: build/ | ||
runtime: | ||
fetch: true | ||
log: | ||
level: error |
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,11 @@ | ||
#! /bin/sh | ||
|
||
branch=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') | ||
|
||
git fetch upstream | ||
|
||
git rebase upstream/$branch | ||
|
||
git push origin $branch | ||
|
||
exit 0 |
Binary file not shown.
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,3 @@ | ||
name: home | ||
title: Home | ||
version: main |
Binary file not shown.
Binary file not shown.
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,67 @@ | ||
= Welcome to ThoughtSpot Software Help | ||
:page-layout: home | ||
|
||
++++ | ||
<style> | ||
.home h2, .home h3, .home h4, .home h5, .home h6, .doc h1, .doc h2, .doc h3, .doc h4, .doc h5, .doc h6 { | ||
color: #444; | ||
font-weight: 500; | ||
font-family: Optimo-Plain,sans-serif; | ||
-webkit-hyphens: none; | ||
-ms-hyphens: none; | ||
hyphens: none; | ||
line-height: 1.3; | ||
margin: 1rem 0 0; | ||
} | ||
h2#_whats_new_in_thoughtspot_cloud { | ||
font-weight: 450; | ||
font-size: larger; | ||
} | ||
h3#_previous_releases_cloud { | ||
font-weight: 300; | ||
font-size: medium; | ||
} | ||
.dlist dt { | ||
font-style: normal !important; | ||
} | ||
b, dt, strong, th { | ||
font-weight: 500; | ||
font-size: .84444rem; | ||
line-height: 1.6; | ||
} | ||
.home .box-wide p { | ||
margin: medium; | ||
color: #444; | ||
font-size: .84444rem; | ||
line-height: 1.6; | ||
} | ||
.box-wide-columns { | ||
width: 82%; | ||
margin: 0 auto; | ||
padding-right: 25px; | ||
} | ||
</style> | ||
++++ | ||
|
||
[.lead] | ||
**Choose your documentation:** | ||
[.conceal-title] | ||
== {empty} | ||
++++ | ||
<div class="box-button-columns"> | ||
<div class="box-button"><a href="https://help-software-thoughtspot.netlify.app/software/latest" class="panel-2"> | ||
<span><img src="_images/software.png" id="software-icon"> | ||
<h2> | ||
Cloud | ||
</h2> | ||
<p>Deploy and manage ThoughtSpot in your own private cloud.</p></span> | ||
</a></div> | ||
</div> | ||
++++ |
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,29 @@ | ||
[build.environment] | ||
CI = "true" | ||
NODE_VERSION = "10" | ||
NPM_CONFIG_OPTIONAL = "false" | ||
ANTORA_CACHE_DIR = "node_modules/.cache/antora" | ||
|
||
[build] | ||
command = "node_modules/.bin/antora antora-playbook.yml --stacktrace --log-format=pretty" | ||
# security policies | ||
[[headers]] | ||
for = "/*" | ||
[headers.values] | ||
Content-Security-Policy = "default-src * 'unsafe-eval' 'unsafe-inline' data: filesystem: about: blob:;" | ||
# redirect any netlify address url to real address | ||
# redirect for home of sw and cloud docs | ||
|
||
# Algolia pendo search test redirect | ||
|
||
[[redirects]] | ||
from = "https://help-cloud-thoughtspot.netlify.app/cloud/latest/" | ||
to = "https://help-cloud-thoughtspot.netlify.app/cloud/latest/index-help" | ||
status = 301 | ||
force = true # COMMENT: ensure that we always redirect | ||
|
||
[[redirects]] | ||
from = "https://help-cloud-thoughtspot.netlify.app/cloud/8.9.0.cl/" | ||
to = "https://help-cloud-thoughtspot.netlify.app/cloud/8.9.0.cl/index-help" | ||
status = 301 | ||
force = true # COMMENT: ensure that we always redirect |
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,12 @@ | ||
{ | ||
"private": "true", | ||
"scripts": { | ||
"plain-install": "npm i --cache=.cache/npm --no-optional", | ||
"build": "antora antora-playbook.yml --stacktrace --fetch --clean" | ||
}, | ||
"devDependencies": { | ||
"@antora/cli": "3.0.0-alpha.7", | ||
"@antora/site-generator-default": "3.0.0-alpha.7", | ||
"@djencks/asciidoctor-tabset-block": "https://experimental-repo.s3-us-west-1.amazonaws.com/djencks-asciidoctor-tabset-block-v0.0.3.tgz" | ||
} | ||
} |
Binary file not shown.