Skip to content
This repository was archived by the owner on Dec 12, 2018. It is now read-only.

Commit 0387fd0

Browse files
authored
Merge pull request #1189 from stormpath/issue/1188
Issue/1188
2 parents a01b460 + eed5ade commit 0387fd0

30 files changed

+987
-553
lines changed

ci/publish_docs.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ cp -r ../docs/build/springboot/build/html source/java/spring-boot-web
2424
cp -r ../docs/build/springboot/build/html source/java/spring-boot-web/latest
2525
cp -r ../docs/build/springboot/build/html source/java/spring-boot-web/$RELEASE_VERSION
2626

27+
info "Copying over spring docs"
28+
rm -rf source/java/spring-web
29+
cp -r ../docs/build/spring/build/html source/java/spring-web
30+
cp -r ../docs/build/spring/build/html source/java/spring-web/latest
31+
cp -r ../docs/build/spring/build/html source/java/spring-web/$RELEASE_VERSION
32+
33+
2734
info "Copying over spring cloud zuul docs"
2835
rm -rf source/java/spring-cloud-zuul
2936
cp -r ../docs/build/sczuul/build/html source/java/spring-cloud-zuul

docs/.scms.groovy

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,11 @@ environments {
3434
// WARNING: document isn't included in any toctree
3535
['source/forwarded-request.rst',
3636
'source/about_sczuul.rst',
37+
'source/tutorial.rst',
3738
'source/appendix/default-stormpath-properties.rst',
3839
'source/appendix/spring-boot-core-properties.rst',
3940
'source/appendix/spring-boot-web-properties.rst',
40-
'source/appendix/forgot-password.rst',
41-
'source/appendix/change-password.rst',
42-
'source/appendix/head.rst',
43-
'source/appendix/login.rst',
44-
'source/appendix/register.rst',
45-
'source/appendix/verify.rst']
41+
'source/appendix/head.rst']
4642
model {
4743
servlet = true
4844
maven.project.groupId = 'com.stormpath.sdk'
@@ -53,7 +49,7 @@ environments {
5349

5450
sczuul {
5551
scms {
56-
excludes = springExcludes
52+
excludes = springExcludes + ['source/tutorial.rst']
5753
model {
5854
sczuul = true
5955
apptype = 'gateway'
@@ -74,4 +70,15 @@ environments {
7470
}
7571
}
7672
}
73+
74+
spring {
75+
scms {
76+
excludes = springExcludes + ['source/about_sczuul.rst', 'source/forwarded-request.rst', 'source/appendix/head.rst']
77+
model {
78+
spring = true
79+
maven.project.groupId = 'com.stormpath.spring'
80+
maven.project.artifactId = 'stormpath-spring-security-webmvc'
81+
}
82+
}
83+
}
7784
}

docs/build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
44
CWD="$(pwd -P)"
55

66
if [ -z "$1" ]; then
7-
targets=( 'servlet' 'springboot' 'sczuul' )
7+
targets=( 'servlet' 'spring' 'springboot' 'sczuul' )
88
else
99
targets=( "$1" )
1010
fi
@@ -15,10 +15,11 @@ command -v sphinx-build >/dev/null 2>&1 || { echo >&2 "The docs/build.sh require
1515
cd "$SCRIPT_DIR"
1616

1717
for target in "${targets[@]}"; do
18+
echo Working on building: $target
1819
scms -e "$target" "$SCRIPT_DIR/build/$target"
1920
cd "$SCRIPT_DIR/build/$target"
2021
sphinx-build -n -b html -E -d build/doctrees source -t "$target" build/html
2122
cd "$SCRIPT_DIR"
2223
done
2324

24-
cd "$CWD"
25+
cd "$CWD"

docs/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Where `<name>` is the unique identifier of the guide to generate.
6363
The current possible values for `<name>` are:
6464

6565
- `servlet`
66+
- `spring`
6667
- `springboot`
6768
- `sczuul`
6869

-300 Bytes
Loading
10.3 KB
Loading
13.6 KB
Loading
39.4 KB
Loading

docs/source/about.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ your web application to do things like:
3030

3131
Stormpath provides a simple REST API for all of the above. For instance, if you wanted to create a new user account given an email address and password, you could send Stormpath an ``HTTP POST`` request and Stormpath would create a new user account for you, securely hash its password using security best practices and and store it securely in Stormpath's cloud service.
3232

33-
In addition to allowing you to create users and groups, Stormpath also allows you to store custom data with each user account. Let's say you want to store a user's birthday -- you can send Stormpath an ``HTTP POST`` request to the user's account URL and store *any* variable JSON data (birthdays, images, movies, links, etc.). This information is encrypted and authenticated end-to-end, ensuring your user data is secure.
33+
In addition to allowing you to create users and groups, Stormpath also allows you to store custom data with each user account. Let's say you want to store a user's birthday -- you can send Stormpath an ``HTTP POST`` request to the user's account URL and store *any* variable JSON data (birthdays, images, movies, links, etc.). This information is cryptographically verifiable and is authenticated end-to-end, ensuring your user data is secure.
3434

3535
What is the |project|?
3636
----------------------
@@ -64,7 +64,7 @@ You might want to use Stormpath if:
6464
- You would like to configure and customize password strength rules.
6565
- You'd like to keep your user data separate from your other applications to increase platform stability / availability.
6666
- You are building a service oriented application or using a microservices based architecture, in which multiple independent services need access to the same user data.
67-
- You who would like to use Stormpath, but need to host it yourself (Stormpath has private and on-premise editions you can use internally).
67+
- You would like to use Stormpath, but need to host it yourself (Stormpath has private and on-premise editions you can use internally).
6868

6969
**Stormpath is a great match for applications of any size where security, development speed, and simplicity are top priorities.**
7070

docs/source/appendix.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ Appendix
66
.. toctree::
77
:maxdepth: 1
88

9-
#if($servlet)
9+
#if( $servlet )
1010
appendix/web-stormpath-properties
1111
#else
1212
appendix/default-stormpath-properties
1313
#end
1414
appendix/i18n-properties
1515
appendix/stormpath-css
16-
#if(!$servlet)
1716
appendix/change-password
1817
appendix/forgot-password
18+
#if( $springboot or $sczuul )
1919
appendix/head
20+
#end
2021
appendix/login
2122
appendix/register
2223
appendix/verify
23-
#end

0 commit comments

Comments
 (0)