Set the correct edit_uri or repo_url for documentation pages that are hosted on GitHub and GitLab

Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com>
This commit is contained in:
Dominik Henneke
2021-08-10 15:09:03 +02:00
parent 91ff484f8e
commit 8b0f6f860f
10 changed files with 213 additions and 185 deletions
@@ -70,10 +70,9 @@ export async function startStandaloneServer(
const containerRunner = new DockerContainerRunner({ dockerClient });
const generators = new Generators();
const techdocsGenerator = new TechdocsGenerator({
const techdocsGenerator = TechdocsGenerator.fromConfig(config, {
logger,
containerRunner,
config,
});
generators.register('techdocs', techdocsGenerator);