You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/README.md
+16-2Lines changed: 16 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,33 @@
1
-
# PMD-New-Site
2
-
New Site For PMD Core Open Source Project
1
+
# PMD Documentation
2
+
3
+
The documentation is available at: <https://pmd.github.io/pmd/>
4
+
5
+
The documentation for the latest release is at: <https://pmd.github.io/latest/>
3
6
4
7
## Site Theme
5
8
6
9
This site was built using the tomjohnson1492/documentation-theme-jekyll theme
7
10
8
11
A Jekyll-based theme designed for documentation and help systems. See the link for detailed instructions on setting up and configuring everything. http://idratherbewriting.com/documentation-theme-jekyll/
9
12
13
+
## Building using Script
14
+
15
+
bash build-docs.sh
16
+
17
+
This will run bundler to fetch and potentially update the ruby gems.
18
+
And then it will execute jekyll and build a offline site.
19
+
Open the file `_site/index.html` with your browser to see the site.
20
+
10
21
## Building using Bundler
11
22
12
23
bundle install # once
13
24
bundle exec jekyll serve
14
25
15
26
Go to: http://localhost:4005/
16
27
28
+
This variant is useful to get constant updates: When you modify a file, jekyll will automatically rebuild
29
+
the site, so you just need to hit Refresh in the browser to see the update.
Copy file name to clipboardExpand all lines: docs/_config.yml
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,10 +29,16 @@ host: 127.0.0.1
29
29
port: 4005
30
30
# the port where the preview is rendered. You can leave this as is unless you have other Jekyll builds using this same port that might cause conflicts. in that case, use another port such as 4006.
31
31
32
+
# these are the files and directories that jekyll will exclude from the build
32
33
exclude:
33
34
- .idea/
34
35
- .gitignore
35
-
# these are the files and directories that jekyll will exclude from the build
0 commit comments