PlantUML Theme and other includes
This allows for a single referenced repo across documentation.
This is based on the following excellent projects
These items can be referenced out of the dist directory as follows:
!include https://raw.githubusercontent.com/SwitchCaseGroup/switchcase-plantuml/master/dist/theme/all.puml!define AWSPuml https://raw.githubusercontent.com/SwitchCaseGroup/switchcase-plantuml/master/dist/aws-icons/
' Include main AWSCommon and then sprite files
!include AWSPuml/AWSCommon.puml
' !include AWSPuml/BusinessApplications/all.puml
' !include AWSPuml/Storage/SimpleStorageServiceS3.pumlLast synced with tag v14.0 of awslabs/aws-icons-for-plantuml
# to sync
rm -rf .upstream/aws-icons/
mkdir -p .upstream
git -c advice.detachedHead=false clone -b v14.0 --depth 1 [email protected]:awslabs/aws-icons-for-plantuml.git .upstream/aws-icons
rsync -avP .upstream/aws-icons/dist/ ./dist/aws-icons/
# now review the changes, commit and push
Pulled from https://github.com/plantuml-stdlib/C4-PlantUML/releases/tag/v2.0.0
' Include the appropriate file below. These files include a reference to https://raw.githubusercontent.com/SwitchCaseGroup/switchcase-plantuml/master/dist/c4/C4.puml
' Context
!include https://raw.githubusercontent.com/SwitchCaseGroup/switchcase-plantuml/master/dist/c4/C4_Context.puml
' Container
!include https://raw.githubusercontent.com/SwitchCaseGroup/switchcase-plantuml/master/dist/c4/C4_Container.puml
' Component
!include https://raw.githubusercontent.com/SwitchCaseGroup/switchcase-plantuml/master/dist/c4/C4_Component.puml
' Dynamic Diagram
!include https://raw.githubusercontent.com/SwitchCaseGroup/switchcase-plantuml/master/dist/c4/C4_Dynamic.puml
' Deployment Diagram
!include https://raw.githubusercontent.com/SwitchCaseGroup/switchcase-plantuml/master/dist/c4/C4_Deployment.puml