Commit Graph

26 Commits

Author SHA1 Message Date
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
Jay Bryant f24836e317 Replaced the zip file with a proper zip file
Somehow, I built the previous instance of the zip file such that it wasn't really a zip file. This time, I used the git archive command. Then I tested it with Mac's unzip command. It worked.
2018-07-02 09:49:23 -05:00
Jay Bryant cfb38094da Adding a third version number to reflect minor changes
I need to change the version to reflect recent minor changes, but I don't think the changes warrant bumping the 2nd (minor) number.
2018-05-02 12:50:52 -05:00
Jay Bryant 562e705a06 Committing the zip file
I made some changes (to get the Back to Index link in the dynamic ToC to work for more cases and to have sensible IDs), so I need to commit the zip file again.
2018-05-01 15:21:59 -05:00
Jay Bryant bf7031298d Further tinkering with the JavaScript
I refined the ability of the script that handles the table of contents to detect whether it should have a "Back to Index" link. The previous logic of checking the file name for whether it was index.html doesn't cover cases where the book is renamed, as Spring Data does with its books. So I added a check for the documet type. A type of "book" indicates a stand-alone document, which shouldn't have hthe link.
2018-05-01 15:18:04 -05:00
Jay Bryant b75df1d0a6 Commiting the zip file and an updated README
I built the zip file and added it to the Github repository. I also added more detail about how to use the files to README.md (per a request from Oliver Gierke).
2018-04-18 12:15:46 -05:00
Jay Bryant dfa65d1824 Updated the README.md file
I accounted for the additional paths and files from the previous commit (in which I made the project look more like a typical Maven project).
2018-04-17 11:57:58 -05:00
Jay Bryant 4f0e353a10 Re-organized the content to match Maven's usual organization and added a pom file
I re-organized the content to match Maven's usual organization. Then I built a pom.xml file and an assembly file (dep.xml) so that Maven will build a zip file of these resources. The zip file ends up in the /target directory.
2018-04-17 11:51:09 -05:00
Jay Bryant c29daf3b1a First commit for the static document-production resources
This is the first commit for the resources that Spring uses during the build process to create documentation for its various projects.
2018-04-13 11:15:58 -05:00