2 Star 0 Fork 0

mirrors_apache/james-site

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Apache James website

This repository is used for storing (some) content for Apache James website.

It’s also used to build and publish the website.

How to build the website

We use Antora as a tool to manage and generate the website. We use Gradle as a tool to drive / automate the tasks for generating, aggregating and publishing the website.

Why Antora?

Antora lets us aggregate multiple documentation sources, across multiple versions and publish them as a single website. Documentation for each Apache James component is kept and versioned alongside the code for it.

Why Gradle?

Gralde allows us to autoamte the tasks that we do when publishing a website. We write gradle tasks for building and publishing the website. We can run those tasks locally and inside our CI infrastructure: Apache Builds.

More specifically, we use Gradle to:

  • Download and install a specific version of NodeJS using Gradle Node Plugin

  • Install a local version of Antora

  • Use a Gradle task to call build the website with Antora

By using this specific flow, you only need git, Java and shell access to build the website. All other dependencies are installed automatically by Gradle. Even Gradle is downloaded and installed using the Gradle wrapper script.

How to build the website

    # To build the website run
    ./gradlew clean build
    # The website is located here
    cd doc-sites/build/site

How to customize the theme for the documentaion

The documentation website is based on Antora. We have added antora-ui-default project as a git subtree under antora-ui.

./gradlew :antora-ui:build will assemble the antora-ui/build/ui-bundle.zip archive required for the website. All the steps are automated as Gradle tasks in that project. All you have to do is change the css and html files and then rebuild the project.

The antora-ui project has a preview mode: /.gradlew gulpPreviewTheme

    # antora-ui-default was added like this. You should be able to pull some changes from upstream
    git subtree add --prefix antora-ui https://gitlab.com/antora/antora-ui-default.git master --squash

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_apache/james-site.git
git@gitee.com:mirrors_apache/james-site.git
mirrors_apache
james-site
james-site
live

搜索帮助