This all is 100% open source, so if you would like to contribute, feel free to edit this page.
plugins:
- package: ./dynamic-plugins/dist/backstage-plugin-techdocs-backend-dynamic
disabled: false
pluginConfig: {}
techdocs:
builder: external
generator:
runIn: local
publisher:
type: 'awsS3'
awsS3:
bucketName: redhat-demo-dev-hub-1
credentials:
accessKeyId: <...>
secretAccessKey: <...>
region: eu-west-3
s3ForcePathStyle: true
sse: 'AES256'
catalog:
providers:
awsS3:
default: # identifies your dataset / provider independent of config changes
bucketName: redhat-demo-dev-hub-1
#prefix: prefix/ # optional
region: eu-west-3 # optional, uses the default region otherwise
schedule: # same options as in TaskScheduleDefinition
# supports cron, ISO duration, "human duration" as used in code
#frequency: { minutes: 30 }
frequency: { minutes: 1 }
# supports ISO duration, "human duration" as used in code
timeout: { minutes: 3 }
initialDelay: { seconds: 15 }
techdocs-cli generate --no-docker --verbose
Or run it from the root of this repository:
techdocs-cli generate --source-dir ./configurations/techdocs/static-content --output-dir ./configurations/techdocs/static-content/aws-s3/site --no-docker --verbose
aws s3 ls
techdocs-cli publish --publisher-type awsS3 \
--storage-name redhat-demo-dev-hub-1 \
--entity default/Component/maartens-first-documentation \
--directory configurations/techdocs/static-content/aws-s3/site \
--awsS3sse AES256