TechDocs: documentation template (#1954)

* feat(docs-template): Add docs template to create a standalone docs project

* fix(docs-template): add docs template to mock data

* fix(docs-template): owner of template

* add techdocs-ref to cookiecutter docs project

* delete unused cookiecutter json file

* update docs in default index.md file

* rename from .yaml to .yml to be consistent to docs

* update techdocs-ref to use github protocol
This commit is contained in:
Emma Indal
2020-08-21 14:56:46 +02:00
committed by GitHub
parent c6c3c94c18
commit f6f56aa748
7 changed files with 82 additions and 2 deletions
@@ -43,7 +43,8 @@ export class DirectoryPreparer implements PreparerBase {
const parsedGitLocation = parseGitUrl(target);
const repositoryTmpPath = path.join(
os.tmpdir(),
// fs.realpathSync fixes a problem with macOS returning a path that is a symlink
fs.realpathSync(os.tmpdir()),
'backstage-repo',
parsedGitLocation.source,
parsedGitLocation.owner,
@@ -43,7 +43,8 @@ export class GithubPreparer implements PreparerBase {
const parsedGitLocation = parseGitUrl(target);
const repositoryTmpPath = path.join(
os.tmpdir(),
// fs.realpathSync fixes a problem with macOS returning a path that is a symlink
fs.realpathSync(os.tmpdir()),
'backstage-repo',
parsedGitLocation.source,
parsedGitLocation.owner,