forked from alibaba/arthas
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add new doc site to maven build chain. alibaba#2161
- Loading branch information
1 parent
55147e7
commit 842462f
Showing
226 changed files
with
95 additions
and
1,544 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: auto prettier | |
on: | ||
push: | ||
paths: | ||
- 'site-vuepress/**' | ||
- 'site/**' | ||
|
||
jobs: | ||
prettier: | ||
|
@@ -18,4 +18,4 @@ jobs: | |
- name: Prettify code | ||
uses: creyD/[email protected] | ||
with: | ||
prettier_options: --config ./site-vuepress/.prettierrc.json --ignore-path ./site-vuepress/.prettierignore --write ./site-vuepress | ||
prettier_options: --config ./site/.prettierrc.json --ignore-path ./site/.prettierignore --write ./site |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "site-vuepress", | ||
"name": "site", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,94 @@ | ||
<?xml version="1.0"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<parent> | ||
<groupId>com.taobao.arthas</groupId> | ||
<artifactId>arthas-all</artifactId> | ||
<groupId>com.taobao.arthas</groupId> | ||
<version>${revision}</version> | ||
<relativePath>../pom.xml</relativePath> | ||
</parent> | ||
<artifactId>arthas-site</artifactId> | ||
<name>arthas-site</name> | ||
|
||
<profiles> | ||
<profile> | ||
<id>full</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>kr.motd.maven</groupId> | ||
<artifactId>sphinx-maven-plugin</artifactId> | ||
<version>2.6.0</version> | ||
<executions> | ||
<execution> | ||
<id>zh doc</id> | ||
<phase>package</phase> | ||
<configuration> | ||
<sourceDirectory>${basedir}/src/site/sphinx</sourceDirectory> | ||
<outputDirectory>${project.build.directory}/site/sphinx</outputDirectory> | ||
<name>Arthas documentation</name> | ||
<description>Documentation about Arthas</description> | ||
</configuration> | ||
<goals> | ||
<goal>generate</goal> | ||
</goals> | ||
</execution> | ||
<execution> | ||
<id>en doc</id> | ||
<phase>package</phase> | ||
<configuration> | ||
<sourceDirectory>${basedir}/src/site/sphinx/en</sourceDirectory> | ||
<outputDirectory>${project.build.directory}/site/sphinx/en</outputDirectory> | ||
<name>Arthas English documentation</name> | ||
<description>Documentation about Arthas</description> | ||
</configuration> | ||
<goals> | ||
<goal>generate</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
|
||
</project> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<artifactId>site</artifactId> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<yarn.registry.url>https://registry.npmmirror.com/</yarn.registry.url> | ||
<!-- <yarn.download.url>https://npm.taobao.org/mirrors/yarn</yarn.download.url> --> | ||
<node.download.url>https://npmmirror.com/mirrors/node/</node.download.url> | ||
<node.version>v16.13.2</node.version> | ||
<yarn.version>v1.22.15</yarn.version> | ||
</properties> | ||
|
||
<build> | ||
<finalName>site</finalName> | ||
|
||
<!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) --> | ||
<plugins> | ||
<plugin> | ||
<groupId>com.github.eirslett</groupId> | ||
<artifactId>frontend-maven-plugin</artifactId> | ||
<!-- Use the latest released version: | ||
https://repo1.maven.org/maven2/com/github/eirslett/frontend-maven-plugin/ --> | ||
<version>1.12.1</version> | ||
<executions> | ||
<execution> | ||
<!-- optional: you don't really need execution ids, but it looks nice in your build log. --> | ||
<id>install node and yarn</id> | ||
<goals> | ||
<goal>install-node-and-yarn</goal> | ||
</goals> | ||
<!-- optional: default phase is "generate-resources" --> | ||
<phase>generate-resources</phase> | ||
</execution> | ||
<execution> | ||
<id>set registry</id> | ||
<goals> | ||
<goal>yarn</goal> | ||
</goals> | ||
<phase>generate-resources</phase> | ||
<configuration> | ||
<arguments>config set registry ${yarn.registry.url}</arguments> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>yarn install</id> | ||
<goals> | ||
<goal>yarn</goal> | ||
</goals> | ||
<configuration> | ||
<!-- optional: The default argument is actually | ||
"install", so unless you need to run some other yarn command, | ||
you can remove this whole <configuration> section. | ||
--> | ||
<arguments>install</arguments> | ||
</configuration> | ||
</execution> | ||
<execution> | ||
<id>npm install</id> | ||
<goals> | ||
<goal>npm</goal> | ||
</goals> | ||
|
||
<!-- optional: default phase is "generate-resources" --> | ||
<phase>generate-resources</phase> | ||
|
||
<configuration> | ||
<!-- optional: The default argument is actually | ||
"install", so unless you need to run some other npm command, | ||
you can remove this whole <configuration> section. | ||
--> | ||
<arguments>run docs:build</arguments> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<nodeVersion>${node.version}</nodeVersion> | ||
<yarnVersion>${yarn.version}</yarnVersion> | ||
|
||
<!-- optional: where to download node from. Defaults to https://nodejs.org/dist/ --> | ||
<nodeDownloadRoot>${node.download.url}</nodeDownloadRoot> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Diff not rendered.
Oops, something went wrong.