Commit Graph

58 Commits

Author SHA1 Message Date
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
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
Damien Vitrac f9279df435 Toc border full height 2018-12-07 11:27:01 +01:00
Damien Vitrac 048440eb95 Update Readme 2018-12-07 11:26:44 +01:00
Brian Clozel 5addf686b8 Add CI infrastructure with Concourse
This commit adds the CI infrastructure for running builds with
Concourse. This includes:

* a docker image for the CI image (JDK 8 based)
* a set of Concourse pipelines for building, staging and promoting
artifacts
2018-12-04 23:04:10 +01:00
Brian Clozel b7bfc332db Set initial version to 0.1.0
In b19bb45, the artifact coordinates were changed to
"io.spring.docresources:spring-doc-resources".

We can set now a new version for the project initial release.
2018-12-04 22:04:18 +01:00
Jay Bryant 04f859575e Merge branch 'bclozel-build'
Brian Clozel did a bunch of work to add a build and get the latest work from Damien Vitrac, so that work needs to be merged.
2018-11-27 10:50:50 -06:00
Brian Clozel 15d612ba40 Add highlight.js themes and use Atom light by default 2018-11-27 15:13:30 +01:00
Damien Vitrac 76f7d1c2e5 Add Spring theme 2018-11-27 15:13:30 +01:00
Brian Clozel 31bbcaebb1 Generate Asciidoctor theme from source files
Prior to this commit, generated Asciidoctor theme files were directly
committed in this project as static files.

This commit removes those files and instead builds on SASS files, just
like other Asciidoctor themes are generated (see
https://github.com/asciidoctor/asciidoctor-stylesheet-factory).

This commit also reorganizes the build to use a Gulp + NPM based build
for generating and optimizing those static resources before packaging
them.

Note that this change is resetting the whole Spring theme to a basic CSS
stylesheet - further commits are expected to get back to a proper theme.
2018-11-27 15:03:23 +01:00
Brian Clozel b19bb45423 Switch to Gradle 2018-11-20 15:12:22 +01:00
Jay Bryant f342a46914 Build changes
Removed the zip file. Modified the pom file to build a zip file that can be put on github with mvn install.
2018-07-02 12:15:38 -05:00