configure Kapa chatbot

Signed-off-by: DanRoscigno <dan@roscigno.com>
This commit is contained in:
DanRoscigno 2025-09-19 18:36:53 -04:00
parent af7052ff34
commit f0ec0b0846
No known key found for this signature in database
GPG Key ID: 173762EABBD1ACE4
3 changed files with 21 additions and 2 deletions

View File

@ -5,7 +5,7 @@ ENV NODE_OPTIONS="--max-old-space-size=8192 --no-warnings=ExperimentalWarning"
ENV DISABLE_VERSIONING=true
ENV DOCUSAURUS_IGNORE_SSG_WARNINGS=true
RUN apt update && apt install -y neovim python3.11-venv ghostscript pdftk
#RUN apt update && apt install -y neovim python3.11-venv ghostscript pdftk
EXPOSE 3000

View File

@ -33,7 +33,17 @@ const config = {
onBrokenAnchors: "ignore",
onBrokenLinks: "ignore",
onBrokenMarkdownLinks: "throw",
scripts: [
{
src: "https://widget.kapa.ai/kapa-widget.bundle.js",
"data-website-id": "7647399c-0b2f-4b29-bfa6-9c83d439244c",
"data-project-name": "StarRocks",
"data-project-color": "#3B0064",
"data-project-logo": "/img/logo.svg",
"data-modal-disclaimer": "Need text here",
async: true,
},
],
future: {
experimental_faster: true,
},

View File

@ -0,0 +1,9 @@
<svg width="135" height="36" viewBox="0 0 135 36" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M129.838 18.5192H129.671C127.96 18.1946 127.96 17.87 127.96 17.6283C127.96 17.3872 128.202 17.2202 128.444 17.0538C128.853 16.8536 129.3 16.7433 129.755 16.7293C130.382 16.6866 130.996 16.9278 131.424 17.3872L133.219 15.9966C132.343 14.9913 131.046 14.4525 129.713 14.5401C128.885 14.5045 128.064 14.7 127.342 15.1058C126.361 15.5693 125.707 16.5238 125.63 17.6038C125.63 19.8012 127.509 20.3674 129.22 20.692H129.304C131.508 21.267 131.508 21.5245 131.508 21.7498C131.508 21.974 131.266 22.2408 130.857 22.4825C130.376 22.7248 129.841 22.8368 129.304 22.8071C128.557 22.8258 127.83 22.5648 127.267 22.0744L125.472 23.4562C126.415 24.5339 127.787 25.1434 129.22 25.1212C130.132 25.1288 131.032 24.9052 131.833 24.472C132.88 23.9706 133.569 22.939 133.628 21.7825C133.787 19.5098 131.75 19.0189 129.797 18.5279M45.7017 16.696H45.5349C42.6798 16.1297 42.6798 15.564 42.6798 14.9061C42.7635 14.3474 43.1487 13.881 43.6815 13.6907C44.3348 13.3491 45.0648 13.1798 45.8018 13.1991C46.8626 13.1232 47.904 13.5085 48.6574 14.2569L50.3768 12.958C49.2048 11.6386 47.4913 10.927 45.7269 11.0262C44.648 11.0198 43.5831 11.2709 42.6213 11.7589C41.3428 12.3135 40.4886 13.5424 40.4172 14.9312C40.4172 17.4286 42.2121 18.3528 45.1508 18.919H45.2346C48.7406 19.8181 48.7406 20.2261 48.7406 20.9588C48.6387 21.6091 48.2061 22.1608 47.5973 22.4154C46.8655 22.7896 46.0559 22.9863 45.2346 22.9898C44.0239 23.0447 42.8443 22.6027 41.9697 21.7662L40.1749 23.1235C41.5365 24.479 43.394 25.2222 45.3177 25.1796C46.5072 25.1656 47.678 24.8807 48.7406 24.3471C50.0847 23.7271 50.9675 22.4095 51.0283 20.9337C51.0283 18.2448 48.9829 17.5115 45.7269 16.696M110.745 16.696C111.589 16.6913 112.394 17.0527 112.949 17.6867L114.577 16.2214C113.628 15.0894 112.225 14.4344 110.745 14.4315C107.817 14.4315 105.444 16.7982 105.444 19.7183C105.444 22.6378 107.817 25.0044 110.745 25.0044C112.225 25.0015 113.628 24.3465 114.577 23.2146L112.866 21.7498C112.311 22.3967 111.49 22.7551 110.636 22.7236C108.968 22.6786 107.653 21.2927 107.698 19.6289C107.698 19.6278 107.698 19.6272 107.698 19.6266C107.788 18.0148 109.102 16.7409 110.72 16.696M57.0645 22.8818C56.3497 22.8911 55.7625 22.3208 55.7538 21.6086C55.7532 21.5998 55.7532 21.5916 55.7532 21.5829V16.696H58.8757V14.4233H55.7532V11.7338H53.5579V14.5062H52.1968V16.7795H53.5831V21.6576C53.5397 23.5888 55.0747 25.1883 57.0106 25.2315C58.3366 25.2607 59.5654 24.5415 60.1865 23.3728L58.2078 22.3155C57.9356 22.6711 57.5129 22.8806 57.0645 22.8818ZM99.1571 14.4233C96.2301 14.3819 93.8229 16.7147 93.7813 19.6342C93.7398 22.5537 96.0796 24.9537 99.0073 24.9951C101.934 25.0371 104.342 22.7037 104.383 19.7842C104.384 19.7597 104.384 19.7346 104.384 19.7101C104.402 16.8116 102.064 14.4461 99.1571 14.4233ZM99.1571 22.8818C97.4448 22.9735 95.9819 21.6634 95.8894 19.9559C95.7975 18.2477 97.1105 16.7888 98.8235 16.6966C100.536 16.6049 101.999 17.9149 102.092 19.6225C102.095 19.6791 102.096 19.7364 102.096 19.793C102.143 21.4521 100.832 22.8351 99.1677 22.8818C99.1647 22.8818 99.1612 22.8818 99.1571 22.8818Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M123.794 15.8885L122.333 14.2568L118.251 18.0864V10.5188H116.047V25.1631H118.251V21.658L121.924 25.1631H125.188L119.636 19.8763L123.794 15.8885Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M92.6537 15.4722C92.6175 12.8972 90.5112 10.83 87.9289 10.8352H82.0848V25.1795H84.2883V20.118H85.9584L89.8573 25.1795H92.7123L88.7134 20.0509C90.9461 19.6679 92.5894 17.756 92.6292 15.4968L92.6537 15.4722ZM84.2555 17.8284V13.1161H87.8452C89.1782 13.1143 90.2787 14.1535 90.3496 15.4804C90.2746 16.8044 89.1747 17.8389 87.8452 17.8366L84.2555 17.8284ZM69.3281 15.3888C66.8372 13.8452 63.5636 14.6082 62.0158 17.0917C60.4686 19.5757 61.2325 22.8408 63.7234 24.3837C64.5254 24.8806 65.4457 25.1555 66.3894 25.1795C67.4542 25.2075 68.4951 24.8595 69.3281 24.1969V25.0966H71.5322V14.4232H69.303L69.3281 15.3888ZM66.3894 22.8817C64.6765 22.9739 63.2135 21.6633 63.121 19.9557C63.0291 18.2476 64.3428 16.7887 66.0551 16.6964C67.768 16.6048 69.2315 17.9148 69.3235 19.6224C69.3264 19.6796 69.3281 19.7362 69.3281 19.7928C69.3744 21.4526 68.0637 22.835 66.3999 22.8817C66.3964 22.8817 66.3929 22.8817 66.3894 22.8817ZM76.1569 15.1891V14.4564H73.9535V25.1795H76.1569V19.1437C76.1481 17.8885 77.1609 16.8634 78.4195 16.8541H78.4365C78.8041 16.8488 79.1677 16.9317 79.4967 17.0957L80.582 15.1891C79.9223 14.8645 79.197 14.6964 78.4611 14.6981C77.6585 14.5615 76.8342 14.7372 76.1569 15.1891Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.1201 15.8241C9.88035 13.9836 7.4143 11.9529 6.09963 10.869C5.61543 10.4724 5.28494 10.1991 5.18134 10.1158C4.54737 9.58931 4.05079 8.66231 5.12504 8.025C5.59516 7.74656 13.5896 3.16556 16.5392 1.46175C17.5747 0.863248 18.8516 0.862123 19.8898 1.46175C21.3013 2.27681 25.5364 4.71862 25.5364 4.71862C25.9817 4.97512 25.9817 5.61694 25.5364 5.87344L12.3171 13.4469C11.4394 13.9537 11.3391 15.1806 12.1201 15.8241Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.424 21.1954L10.0409 29.3916C9.65296 29.9828 8.87035 30.1684 8.25722 29.8146L4.69046 27.7576C3.65618 27.1602 3.01489 26.0566 3.01489 24.8596V11.1824C3.01489 10.1193 3.52218 9.1287 4.35996 8.50488C3.40225 9.24232 3.78286 10.0686 4.41683 10.5957C4.50241 10.6643 12.4163 17.1786 15.1582 19.4359C15.6841 19.8685 15.7978 20.6262 15.424 21.1954Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M24.3136 20.2019C26.5534 22.0424 29.0194 24.073 30.3341 25.157C30.8183 25.5535 31.1488 25.8269 31.2524 25.9102C31.8863 26.4367 32.3829 27.3637 31.3087 28.001C30.8385 28.2794 22.8441 32.8604 19.8945 34.5642C18.859 35.1627 17.5821 35.1638 16.5439 34.5642C15.1324 33.7492 10.8973 31.3073 10.8973 31.3073C10.452 31.0508 10.452 30.409 10.8973 30.1525L24.1166 22.5796C24.9943 22.0722 25.0946 20.8454 24.3136 20.2019Z" fill="white"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M21.0097 14.8303L26.3927 6.63407C26.7807 6.04288 27.5633 5.85725 28.1764 6.21107L31.7432 8.26813C32.7774 8.8655 33.4187 9.96913 33.4187 11.1661V24.8433C33.4187 25.907 32.9114 26.897 32.0737 27.5208C33.0314 26.7834 32.6508 25.9571 32.0168 25.43C31.9312 25.3614 24.0173 18.8471 21.2754 16.5903C20.7495 16.1572 20.6358 15.3995 21.0097 14.8303Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 6.3 KiB