8000 GitHub - beneshed/aws-sdk-go-v2 at documentation
[go: up one dir, main page]

Skip to content

beneshed/aws-sdk-go-v2

 
 

Repository files navigation

AWS SDK for Go V2 Documentation

This source tree contains the AWS SDK for Go V2 developer and migration guides.

The documentation is generated using Hugo, which is a static website generator. This project uses the Docsy Hugo theme for presentation and formatting of the docs content type.

Development

Getting Started

  1. Install Hugo

  2. Verify Hugo

     hugo version

    Output:

    hugo v0.91.2-1798BD3F+extended darwin/amd64 BuildDate=2021-12-23T15:33:34Z VendorInfo=gohugoio
    

    This project requires that the extended version of Hugo is installed. Follow the download instructions to ensure the correct version is present.

  3. Fork the SDK repository

  4. Checkout the documentation branch replacing USERNAME with your GitHub username.

    git clone --single-branch -b documentation git@github.com:USERNAME/aws-sdk-go-v2.git aws-sdk-go-v2-docs
    cd aws-sdk-go-v2-docs
  5. Install NodeJS (LTS)

  6. Initialize project submodules and dependencies

    make setup

Previewing Changes

Hugo comes with a built-in development server that allows you to iterate and preview your documentation changes in realtime. This can be done by using the following Hugo command:

make preview

The Hugo test server will print the endpoint to the terminal after it has started, (e.g. http://localhost:1313). Use ctrl+c to terminate the preview server.

Preview without Hugo installed

The content of the docs can be previewed without installing Hugo or NodeJS, but Docker is required instead. The following command will run the Hugo preview server in a sandboxed container, with the preview endpoint expose locally.

make container-preview

The Hugo test server will print the endpoint to the terminal after it has started, (e.g. http://localhost:1313). Use ctrl+c to terminate the preview server, and container.

Submitting PRs

Pull requests should be submitted to the SDK Repository, to help speed up the process and reduce the time to merge please ensure that Allow edits and access to secrets by maintainers is checked before submitting your PR. This will allow the project maintainers to make minor adjustments or improvements to the submitted PR, allow us to reduce the roundtrip time for merging your request.

Building Content for Release

To generate the documentation content in preparation for releasing the updates, the following command should be run.

make generate

This command will update the static version of the documentation into the docs/ folder.

References

About

AWS SDK for the Go programming language.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 77.0%
  • Java 22.2%
  • Other 0.8%
0