Commit Graph

118 Commits

Author SHA1 Message Date
Brian Clozel 59cf41bd4b Update list of embedded highlight.js styles
This commit removes all dark variants of hilight.js styles, as the
custom styles we're shipping with this project only work with light
variants.

Closes gh-40
See gh-25
2020-04-03 23:41:13 +02:00
Brian Clozel 67939b97e2 Update CI image 2020-04-03 23:41:13 +02:00
Brian Clozel c452d33fd8 Upgrade to Gradle 6.3
Also switch to a different Gradle plugin for integrating the Node build
into our Gradle build.
2020-04-03 23:41:13 +02:00
Damien Vitrac 1da535dbea Update max width for large screen
See gh-30
2020-04-03 21:31:15 +02:00
Damien Vitrac a11712370c Update header illustration
See gh-36
2020-03-23 16:56:23 +01:00
Damien Vitrac 7f4f4020ad Fix table overflow
See gh-34
2020-03-23 16:17:42 +01:00
Spring Buildmaster 898657f118 Next development version (v0.2.1.BUILD-SNAPSHOT) 2020-03-21 10:22:08 +00:00
Jay Bryant 4740d1baa3 Fix for the (almost) black-on-black text in listings issue.
We had a rule that set listing text to a color of 222 against a black background. That was unreadable. I removed the 222 color in code listing blocks.
2020-03-09 12:08:03 -05:00
Brian Clozel 7a4d5c339a Mark github theme as the default in documentation
As seen on gh-14, the global theme is now adapted to light-variants of
code hilighting themes. This should be reflected on the project
documentation.
2020-02-26 18:50:52 +01:00
Damien Vitrac f61069aad6 Update theme according to the new website 2020-02-26 18:44:22 +01:00
Brian Clozel 40ea8c2698 Switch to 0.2.0 version prior to changing theme 2020-02-26 18:36:32 +01:00
Andy Wilkinson 7391705439 Apply 100% width to stretch class
Previously, Asciidoctor used spread for a full-width table but this
changed [1] to stretch in 1.5.7. As a result, a table that should be
full-width is not when using spring.css with Asciidoctor 1.5.7+.

This commit updates the CSS to apply 100% width to stretch. This is
done in addition to spread to avoid breaking backwards compatibility.

[1] https://github.com/asciidoctor/asciidoctor/issues/2589
2019-11-19 19:54:53 +01:00
Spring Buildmaster 442862e3b3 Next development version (v0.1.4.BUILD-SNAPSHOT) 2019-09-26 11:58:42 +00:00
Brian Clozel 1accc14ae7 Upgrade to Gradle 5.6.2 2019-09-20 19:29:47 +02:00
YuCheng Hu 2414a4602f 修改使用语法高亮的 JS 代码和版本,更新到最新的版本 2019-09-06 12:31:16 -04:00
YuCheng Hu 270d7726ab 添加 logo 的 SVG 参数 2019-09-06 12:29:59 -04:00
YuCheng Hu fbe00d653f 修改 CSS 文件为使用 ossez 的 CSS 配置文件 2019-09-05 22:29:53 -04:00
YuCheng Hu 38021559a6 修改 Build 文件的 PUSH 仓库地址到 maven.ossez.com 2019-09-05 22:29:01 -04:00
YuCheng Hu 391923d7b3 修改 ossez 的版本号为 0.1.0 版本 2019-09-01 19:31:38 -04:00
YuCheng Hu 571b451964 针对 Node 修改 json 的配置文件 2019-09-01 18:19:11 -04:00
YuCheng Hu fb4b63c7a1 项目是从 spring Doc 项目中 fork 来的,修改名字用于 OSSEZ 项目的文档样式 2019-09-01 18:12:09 -04:00
Damien Vitrac 3f112fd938 Fix scroll visibility on admonitionblock
Closed #18
2019-08-30 10:11:28 +02:00
Damien Vitrac 656772ff67 Update list of code link
Closed #13
2019-08-30 10:11:09 +02:00
Damien Vitrac 792437b2c6 Code highlight: change to light theme
Closed #14
2019-08-30 10:10:42 +02:00
Phil Webb 0303bcdf51 Improve table styling (#17)
* Update sample to include larger table (#16)

Update the sample table to show the issues discussed in #16.

* Improve table style (#16)

Update table CSS so that alternate rows are shaded and any
code blocks are styled.
2019-08-07 13:21:32 -05:00
Spring Buildmaster f558f98310 Next development version (v0.1.3.BUILD-SNAPSHOT) 2019-05-13 14:18:30 +00:00
Christoph Dreis 35d906fa70 Keep style for <code> tags consistent in tableblock (#12) 2019-04-15 09:10:03 -05:00
Spring Operator 82f2b4693e URL Cleanup (#11)
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
  https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 1 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0) result 200).
2019-04-15 09:09:01 -05:00
Spring Operator efa0e99d9c URL Cleanup (#10)
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.

* [ ] http://livereload.com/ (200) with 1 occurrences could not be migrated:
   ([https](https://livereload.com/) result ConnectTimeoutException).

# Fixed URLs

## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.

* [ ] http://zenorocha.mit-license.org (301) with 1 occurrences migrated to:
  https://zenorocha.mit-license.org/ ([https](https://zenorocha.mit-license.org) result NullPointerException).

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* [ ] http://asciidoctor.org/docs/user-manual/ with 1 occurrences migrated to:
  https://asciidoctor.org/docs/user-manual/ ([https](https://asciidoctor.org/docs/user-manual/) result 200).

# Ignored
These URLs were intentionally ignored.

* http://localhost:8080 with 1 occurrences
* http://www.w3.org/1999/xhtml with 2 occurrences
* http://www.w3.org/1999/xlink with 1 occurrences
* http://www.w3.org/2000/svg with 1 occurrences
2019-04-15 09:08:24 -05:00
Spring Buildmaster 859e113e12 Next development version (v0.1.2.BUILD-SNAPSHOT) 2019-03-15 14:55:24 +00:00
Jay Bryant d6e2e79652
Various updates to the READEM.md file (#9)
I accounted for how to produce PDF and HTML when the two output types use separate code highlighters (it takes a separate task to do). I also documented a new feature that I added for Oleg Zhurakousky but that I am sure many of other proects (notably in Spring Cloud) can reasonably use, too.

I added a features section for it, since I suppose we'll get other features as time marches along.
2019-03-13 15:43:23 -05:00
Jay Bryant ea06c832ac
Added the ability to set the index link (#8)
If you add a role with a id of index-link, the href that you specify below that role ID becomes the link in the "Back to index" link in the table of contents.

The inserted role has the following form:

[#index-link]
https://spring.io

The URL can be any valid URL, whether relative or absolute.

This fix meets a need that Oleg Zhurakousky identified.
2019-03-13 15:26:57 -05:00
Jay Bryant 8c2f3ae62d
Adding the Spring Style Guide (#7)
* Adding the Spring Style Guide

Per a request from Michael Minella, I'm adding the Spring Style Guide to spring-doc-resources, giving it a more sensible location than my personal account.

* Updated style guide

I know more about Asciidoctor than I did when I last modified the style guide, so I set up better Asciidoctor attributes. I also trimmed off a bit at the end.
2019-02-20 15:19:20 -06:00
Damien Vitrac ec67c149ff Update large screen render 2019-02-05 17:35:17 +01:00
Damien Vitrac 8e27b54214 Update position icon back to index 2018-12-11 22:07:51 +01:00
Spring Buildmaster 77290c3f90 Next development version (v0.1.1.BUILD-SNAPSHOT) 2018-12-10 20:06:18 +00:00
Brian Clozel 5483385f4a Fix Stage and Promote release process
This commit contains a few fixes for the CI release process.

The base CI image now installs the `jq` binary as it's
required by the promotion process.

The staging script is fixed to use the correct `sed` syntax
for this Linux container, and only consider Gradle as a build
system. This also changes the staging script to correctly
choose the release version depending on the release type.
This commit also adds a `RELEASE_TYPE` parameter to the state
task.

The project build version is moved to a `gradle.properties`
to align with the stage+promote script.

The promote release script is now executable.
2018-12-10 20:58:15 +01:00
Damien Vitrac 5ea673a0d5 Fix line-height 2018-12-10 20:43:17 +01:00
Damien Vitrac 33779e0a09 Code: fix break word 2018-12-10 14:05:00 +01:00
Brian Clozel 06778cc306 Fix BUILD version
Fixes gh-5
2018-12-10 12:50:18 +01:00
Damien Vitrac 53a2ba0cba Book: margin header 2018-12-09 20:20:29 +01:00
Damien Vitrac 0b0700cfdd Message: hide icon cell on mobile 2018-12-09 20:07:50 +01:00
Damien Vitrac 9feb6272c8 Move header in JS 2018-12-09 17:26:28 +01:00
Damien Vitrac 0adb49b58f Fix table 2018-12-07 21:26:09 +01:00
Damien Vitrac 3d5ffa0d43 Fix Toc position 2018-12-07 17:25:28 +01:00
Damien Vitrac 8fafb83845 Mobile adaptations 2018-12-07 17:16:24 +01:00
Brian Clozel 54b681c058 Hide back link if already on index page
Because many Spring projects will have both single and multi page
reference docs variants, we should only show "back to index" links on
pages that aren't already index pages.
2018-12-07 16:57:34 +01:00
Damien Vitrac f2f9a4349e Remove dynamic toc on mobile version 2018-12-07 15:05:52 +01:00
Damien Vitrac 7b84598eac Mobile adaptations 2018-12-07 14:48:07 +01:00
Damien Vitrac bfc12e20f3 Update offset toc 2018-12-07 11:27:17 +01:00