mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? feat: Configure the root directory alias #1739 ### Type of change - [ ] Bug Fix (non-breaking change which fixes an issue) - [x] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [ ] Other (please describe):
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
import HightLightMarkdown from '@/components/highlight-markdown';
|
||||
import { useSetModalState, useTranslate } from '@/hooks/common-hooks';
|
||||
import { Button, Card, Flex, Space } from 'antd';
|
||||
import apiDoc from '../../../../../docs/references/api.md';
|
||||
// import apiDoc from '../../../../../api/http_api.md';
|
||||
import apiDoc from 'root/api/http_api.md';
|
||||
import ChatApiKeyModal from '../chat-api-key-modal';
|
||||
import EmbedModal from '../embed-modal';
|
||||
import { usePreviewChat, useShowEmbedModal } from '../hooks';
|
||||
|
||||
@ -4,9 +4,9 @@
|
||||
li {
|
||||
padding: 4px 0px;
|
||||
}
|
||||
p {
|
||||
white-space: pre-wrap; // https://stackoverflow.com/questions/60332183/new-line-with-react-markdown
|
||||
}
|
||||
// p {
|
||||
// white-space: pre-wrap; // https://stackoverflow.com/questions/60332183/new-line-with-react-markdown
|
||||
// }
|
||||
}
|
||||
|
||||
.code {
|
||||
|
||||
Reference in New Issue
Block a user