Technical writing
Vision
At the end of FY’22 a new team, Technical Writing, was formed within the product organization.
The Technical Writing team aims to ensure that users not only understand how features work but why they are important through practical, actionable technical content.
Put another way, this team’s primary goal is to educate users and provide them with a path to realized value in Sourcegraph products, as well as help them achieve measurable success in reaching their desired outcomes. We strive to accomplish this through a variety of educational content that goes beyond docs and also includes guides, technical use cases, tutorials, videos, and any other content/mediums/approaches that serve our users and this goal.
While the primary focus of this group will be to create original content, this group will also work to develop the strategy, templates, processes, and standards necessary to ensure the content produced aligns with style guides, maintains relevancy, and provides a consistent style, tone, and voice.
Finally, this group will contribute to shaping the relevant technical platforms in order to drive consistent design, information architecture, functionality, and experience that allows this content to stand out as a competitive differentiator for Sourcegraph.
Contact
@docs-team on Slack
Process
Uploading graphics
Adding Images to Google Cloud Storage
If your changes include any images or video, you’ll need to upload to the Google Cloud Storage (GCP) blog bucket before sticking it in your markdown file. However, if the image is less than 100kb in size, it can be added to the /doc folder.
- Once you have permissions set up, view the sourcegraph-assets bucket
- Make sure your file has a unique name that clearly describes the image or video. There are lots of files in Google Storage, and you want to be able to identify yours easily.
- If you’re working on a blog, navigate to the blog/ folder found in the link in step 1. Navigate to the appropriate release folder—if your release folder is missing, go ahead and make a new one.
- Click “Upload Files” to select your file, and click “Open”.
Publishing changes
The publishing process for the website, handbook, and docs is the same as the one listed in editing the handbook.
Local previews
Handbook changes
- Navigate to your local sourcegraph/about repository
- Run
make serve
to start - Preview at localhost 5082
- Ctrl-c will kill the server
Run make docsite-check
to verify your changes and catch any broken links.
Product docs
- Navigate to your local sourcegraph/sourcegraph repository
- Run
./dev/docsite.sh serve
to only run the documentation (vs. starting the Sourcegraph instance) - Preview at localhost 5080
Marketing website or blog
- Navigate to your local sourcegraph/about repository
- Go into the
website
sub-directory - Run
yarn start
- Preview at localhost 8000