Skip to content

Commit

Permalink
update docsite link in readme (#78)
Browse files Browse the repository at this point in the history
* update docsite link in readme

* update docsite pathprefix

* remove pr docsite publish
  • Loading branch information
darthtrevino authored Apr 4, 2024
1 parent bd2aa86 commit 89ee15d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ jobs:
- name: Build docsite
run: yarn build
working-directory: docsite
env:
DOCSITE_BASE_URL: "graphrag"

- name: List docsite files
run: find docsite/_site
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GraphRAG

👉 [Check out our docsite!](https://ashy-glacier-0caaba110.4.azurestaticapps.net)
👉 [Read the docs](https://microsoft.github.io/graphrag)

## Overview

Expand Down
4 changes: 4 additions & 0 deletions docsite/.eleventy.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const { EleventyHtmlBasePlugin } = require("@11ty/eleventy");
const syntaxHighlight = require("@11ty/eleventy-plugin-syntaxhighlight");
const codeClipboard = require("eleventy-plugin-code-clipboard");
const pluginMermaid = require("@kevingimbel/eleventy-plugin-mermaid");
Expand All @@ -7,6 +8,9 @@ module.exports = (eleventyConfig) => {
eleventyConfig.addPlugin(syntaxHighlight);
eleventyConfig.addPlugin(codeClipboard);
eleventyConfig.addPlugin(pluginMermaid);
eleventyConfig.addPlugin(EleventyHtmlBasePlugin, {
baseHref: process.env.DOCSITE_BASE_URL || ""
});
eleventyConfig.addPassthroughCopy("data");
eleventyConfig.addPassthroughCopy("img");
// Verbs and Workflows are auto-generated
Expand Down

0 comments on commit 89ee15d

Please sign in to comment.