Skip to content
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.

Commit

Permalink
Update jazzy doc generation configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
rcedwards committed Oct 12, 2016
1 parent a1d485b commit abca3e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .jazzy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ custom_categories:
- NSFetchRequestResult
- NSManagedObjectContext
- NSPersistentStoreCoordinator
- NSBundle
- Bundle
- name: Supporting Structs and Enums
children:
- FetchedResultsObjectChange
Expand All @@ -24,6 +24,7 @@ custom_categories:
children:
- CoreDataStack
- CoreDataModelable
- Error
github_url: "https://github.com/bignerdranch/CoreDataStack"
head: |
<meta property="og:site_name" content="Core Data Stack Programming Guide">
Expand All @@ -33,6 +34,6 @@ head: |
hide_documentation_coverage: false
skip_undocumented: false
module: CoreDataStack
module_version: "1.3.0"
module_version: "2.0.0"
root_url: "http://bignerdranch.github.io/CoreDataStack/"
theme: fullwidth
4 changes: 2 additions & 2 deletions Resources/scripts/publish_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ generate_docs() {
else
BUILD_DIR="$HOME/workspace/CoreDataStack"
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)
IS_PR=false
MASTER_BRANCH=$BRANCH_NAME
echo "=================Not Running in CI================="
fi

if [ "$IS_PR" == "false" ]; then
if [[ $BRANCH_NAME = "$MASTER_BRANCH" ]]; then
echo -e "Generating Jazzy output \n"
jazzy --output "$BUILD_DIR"/"$DOCS_DIR" --clean --podspec "$BUILD_DIR"/BNRCoreDataStack.podspec --module "CoreDataStack" --config "$BUILD_DIR"/.jazzy.yml
jazzy --output "$BUILD_DIR"/"$DOCS_DIR" --clean --config "$BUILD_DIR"/.jazzy.yml
else
echo "Aborting doc generation. Not on master branch." 1>&2
exit 1
Expand Down

0 comments on commit abca3e0

Please sign in to comment.