-
Notifications
You must be signed in to change notification settings - Fork 306
Uploading Files
Toni Bonitto edited this page Sep 21, 2021
·
2 revisions
Follow these criteria to name your files:
- All letters should be lower case (use
selfie-sara-cope
notselfie-Sara-Cope
and notselfieSaraCope
) - Do not include spaces between words (use
my-image-file
notmy image file
) - Do not use any special characters like
&
or#
in the filename (regular numbers are fine)
- Create a new branch
1a. FOR PDFS: Go to https://github.com/GSA/digitalgov.gov/tree/main/static/pdf (open in a new tab)
1b. FOR OTHER FILES: Go to https://github.com/GSA/digitalgov.gov/tree/main/static/files (open in a new tab) - Select
Add File
->Upload File
and upload your file - Commit the change in your own branch that you created
- Create a pull request (PR) to add the file(s)
- Request that the PR be reviewed and merged
After that pull request is merged, your PDF will be available at: https://digital.gov/pdf/FILENAME.pdf.
Other files will be available at: https://digital.gov/files/FILENAME.pptx (or whatever the file extension is; .doc, .xlsx, etc.)
- Find the page you want to add your file to
- Add a markdown formatted link to the file that includes the file size, type and number of pages after the link (see example below)
- Create a pull-request that will add the file link to the page
markdown:
[link text](https://digital.gov/pdf/FILENAME.pdf) (PDF, 372 KB, 8 pages)
link:
link text (PDF, 372 KB, 8 pages)
🎉Questions? Email [email protected]