diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4a26d1514..ff6235416 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -83,6 +83,12 @@ jobs: user_email: 41898282+github-actions[bot]@users.noreply.github.com cname: docs.defang.io + + # Notify docs chatbot of new docs with curl command + - name: Notify docs chatbot of new docs + run: | + curl -X POST https://chatbot-url.com/trigger-rebuild?token=${{ secrets.CHATBOT_TOKEN }} + - name: Notify Slack of Action Failures uses: ravsamhq/notify-slack-action@2.5.0 diff --git a/docs/chat.md b/docs/chat.md new file mode 100644 index 000000000..5105d0392 --- /dev/null +++ b/docs/chat.md @@ -0,0 +1,19 @@ +--- +title: "Ask Defang" +description: This is a chatbot that is trained on defang documentation and designed to answer questions +sidebar_position: 900 +className: "no-title-page" +--- + + diff --git a/src/css/custom.css b/src/css/custom.css index 1f49fe83b..46753599d 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -28,3 +28,31 @@ --ifm-color-primary-lightest: #d4e7f5; --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); } + +.docs-doc-id-chat h1 { + display: none; +} + +.docs-doc-id-chat .breadcrumbs { + display: none; +} + +.docs-doc-id-chat main > .container { + padding: 0px !important; +} + +.docs-doc-id-chat article > nav { + display: none !important; +} + +.docs-doc-id-chat main > .container > .row > .col { + max-width: 100% !important; +} + +.docs-doc-id-chat main nav.pagination-nav { + display: none !important; +} + +.docs-doc-id-chat main article footer { + display: none !important; +} \ No newline at end of file