Dynamics 365 Business Central 项目教程
1. 项目的目录结构及介绍
Dynamics 365 Business Central 项目的目录结构如下:
dynamics365smb-docs/
├── business-central/
│ ├── media-source/
│ ├── templates/
│ ├── acrolinx-config.edn
│ ├── gitattributes
│ ├── gitignore
│ ├── openpublishing-build.ps1
│ ├── openpublishing-publish-config.json
│ ├── openpublishing-redirection.json
│ ├── LICENSE
│ ├── LICENSE-CODE
│ ├── README.md
│ ├── SECURITY.md
│ └── ThirdPartyNotices
├── archive/
└── README.md
目录结构介绍
-
business-central/: 包含 Dynamics 365 Business Central 应用程序的帮助内容源文件。
- media-source/: 存放媒体资源文件。
- templates/: 存放文档模板文件。
- acrolinx-config.edn: Acrolinx 配置文件。
- gitattributes: Git 属性配置文件。
- gitignore: Git 忽略文件配置。
- openpublishing-build.ps1: 用于构建文档的 PowerShell 脚本。
- openpublishing-publish-config.json: 发布配置文件。
- openpublishing-redirection.json: 重定向配置文件。
- LICENSE: 项目许可证文件。
- LICENSE-CODE: 代码许可证文件。
- README.md: 项目介绍文件。
- SECURITY.md: 安全相关信息文件。
- ThirdPartyNotices: 第三方通知文件。
-
archive/: 存放归档文件。
-
README.md: 项目根目录的介绍文件。
2. 项目的启动文件介绍
Dynamics 365 Business Central 项目的启动文件主要是 openpublishing-build.ps1
。
openpublishing-build.ps1
这是一个 PowerShell 脚本,用于构建和生成 Dynamics 365 Business Central 的文档内容。该脚本负责处理文档的编译、格式化和生成最终的输出文件。
3. 项目的配置文件介绍
Dynamics 365 Business Central 项目中有多个配置文件,以下是主要的配置文件介绍:
openpublishing-publish-config.json
该文件用于配置文档的发布设置,包括发布的目标路径、发布格式等。
openpublishing-redirection.json
该文件用于配置文档的重定向设置,确保旧的文档链接能够正确重定向到新的文档位置。
gitattributes
该文件用于配置 Git 的属性,例如文件的换行符处理、文件的合并策略等。
gitignore
该文件用于配置 Git 忽略的文件和目录,确保不需要跟踪的文件不会被纳入版本控制。
LICENSE 和 LICENSE-CODE
这两个文件分别包含了项目的许可证信息,LICENSE
通常是文档内容的许可证,而 LICENSE-CODE
则是代码部分的许可证。
SECURITY.md
该文件包含了项目的安全相关信息,例如如何报告安全漏洞、安全策略等。
ThirdPartyNotices
该文件包含了第三方依赖的通知信息,确保项目在使用第三方库时遵守相应的许可协议。
创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考