diff --git a/PRD.md b/PRD.md deleted file mode 100644 index 0acb62ba..00000000 --- a/PRD.md +++ /dev/null @@ -1,13 +0,0 @@ -# PRD - -## 文档10个原则 - -* 可维护是文档进化第一任务,也就是说允许使用上的“不直观”出现 -* 向编程序一样设计文档的:组件、接口 -* 文档满足三层技术体系 -* 通用方案参考+特殊要素清单=特殊解决方案。例如:特殊 Nginx 配置只需列出配置文件模板,而不用再次阐述步骤 -* 路由不超过两层结构 - -## Search - - diff --git a/developer.md b/developer.md new file mode 100644 index 00000000..54e184cc --- /dev/null +++ b/developer.md @@ -0,0 +1,30 @@ +# Developer + +## docsearch-scraper + +``` + - CONFIG={ + "index_name":"websoft9", + "start_urls":["https://support.websoft9.com/"], + "selectors":{ + "lvl0":{ + "selector":"(//ul[contains(@class,'menu__list')]//a[contains(@class, 'menu__link menu__link--sublist menu__link--active')]/text() | //nav[contains(@class, 'navbar')]//a[contains(@class, 'navbar__link--active')]/text())[last()]", + "type":"xpath", + "global":true, + "default_value":"Documentation"}, + "lvl1":"header h1", + "lvl2":"article h2", + "lvl3":"article h3", + "lvl4":"article h4", + "lvl5":"article h5,article td:first-child", + "lvl6":"article h6", + "text":"article p, article li, article td:last-child"}, + "strip_chars":" .,;:#", + "custom_settings":{ + "separatorsToIndex":"_", + "attributesForFaceting":["language","version","type","docusaurus_tag"], + "attributesToRetrieve":["hierarchy","content","anchor","url","url_without_anchor","type"]}, + "conversation_id":["833762294"], + "nb_hits":46250} +``` + diff --git a/docs/apps/codeserver.md b/docs/apps/codeserver.md index fbcca5de..ace7afe2 100755 --- a/docs/apps/codeserver.md +++ b/docs/apps/codeserver.md @@ -114,7 +114,9 @@ java -version #### 文件权限不足? -如果上传到宿主机的文件,code-server 容器没有访问权限,则需要修正它们。 +问题描述:切换到 root 账号 git clone 项目后,code-server 权限不足,导致无法修改或删除项目文件 +原因分析:code-server 容器默认用户是 abc,无法修改 root 权限的文件 +解决方案:`chown -R abc:abc workspace` 修正 #### Terminal 安装组件时权限不足? diff --git a/docs/business/assets/aliyun-getinvoice-websoft9.png b/docs/business/assets/aliyun-getinvoice-websoft9.png deleted file mode 100755 index 60b93d28..00000000 Binary files a/docs/business/assets/aliyun-getinvoice-websoft9.png and /dev/null differ