Skip to content

AdobeDocs/ff-services-docs

Repository files navigation

Firefly Services Documentation

This repository contains the main Firefly Services documentation. It also consumes transcluded content for specific related API tabs in the form of markdown files copied in from other repositories(ie: Firefly API, Ps API). This allows for a separation of concerns while still allowing the content to be navigated and consumed like it's in one repo.

Transcluded content pages and repos

Page Repository
https://developer-stage.adobe.com/firefly-services/docs/firefly-api/ AdobeDocs/firefly-api-docs
https://developer-stage.adobe.com/firefly-services/docs/photoshop/ AdobeDocs/cis-photoshop-api-docs

Steps

IMPORTANT: These steps are required to allow you to see your updates to any transcluded content.

  1. Ensure you are in the transclude branch of this repo.
  2. Ensure your latest content is checked into the main branch of the repo to be copied from (ie: AdobeDocs/firefly-api-docs.
  3. If you have already run yarn install to test locally, you must first delete the node_modules and yarn.lock file to ensure the newest content will be fetched from the target repos, then run yarn install.
  4. Run yarn run prebuild to copy in the new content from the associated node_modules package.
  5. Run yarn dev to test it locally and make sure you see your latest changes.
  6. Once your updates are ready, commit and push the transclude branch to the remote GitHub Firefly Services repo, then run the deploy job, ensuring you specify the transclude branch.

Navigation updates

IMPORTANT: If your transcluded repo site needs changes to the nav, you'll need to update the specific related config file noted below (vs the gatsby-config.js in that repo):

Template

This documentation site is based on the AdobeDocs/dev-site-documentation-template.

View the demo running on Github Pages.

Where to ask for help

The slack channel #adobeio-onsite-onboarding is our main point of contact for help. Feel free to join the channel and ask any questions.

How to develop

For local development, simply use :

$ yarn install
$ yarn dev

For the developer documentation, read the following sections on how to:

For more in-depth instructions.

How to test

  • To run the configured linters locally (requires Docker):

    yarn lint

    NOTE If you cannot use Docker, you can install the linters separately. In .github/super-linter.env, see which linters are enabled, and find the tools being used for linting in Supported Linters.

  • To check internal links locally

    yarn test:links
  • To build and preview locally:

    yarn start

How to deploy

For any team that wishes to deploy to the developer.adobe.com and developer-stage.adobe.com websites, they must be in contact with the dev-site team. Teams will be given a path that will follow the pattern developer.adobe.com/{product}/. This will allow doc developers to setup their subpaths to look something like:

developer.adobe.com/{product}/docs
developer.adobe.com/{product}/community
developer.adobe.com/{product}/community/code_of_conduct
developer.adobe.com/{product}/community/contribute

Launching a deploy

You can deploy using the GitHub actions deploy workflow see deploy instructions.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published