Difference between revisions of "Website:Contribute from GitHub"
(5 intermediate revisions by 2 users not shown) | |||
Line 6: | Line 6: | ||
1. Go to [https://github.com/WormBase/website/blob/staging/root/templates/config/external_urls https://github.com/WormBase/website/blob/staging/root/templates/config/external_urls] | 1. Go to [https://github.com/WormBase/website/blob/staging/root/templates/config/external_urls https://github.com/WormBase/website/blob/staging/root/templates/config/external_urls] | ||
Make sure you're on the <code>staging</code> branch. | Make sure you're on the <code>staging</code> branch. | ||
− | [[File:External_urls_1.png|800px]] | + | [[File:External_urls_1.png|800px]] |
2. Click on <code>edit</code>. The code will become an interactive text editor where you can make your changes. | 2. Click on <code>edit</code>. The code will become an interactive text editor where you can make your changes. | ||
Line 14: | Line 14: | ||
Example | Example | ||
= { description = 'Short description of this resource, will appear when hovering over link' | = { description = 'Short description of this resource, will appear when hovering over link' | ||
− | maintainer = 'John Smith' | + | maintainer = 'John Smith' |
− | email = 'john@example.org' | + | email = 'john@example.org' |
base = 'http://www.example.org/' | base = 'http://www.example.org/' | ||
search = 'http://www.example.org/search?q=%s' | search = 'http://www.example.org/search?q=%s' | ||
} | } | ||
</pre> | </pre> | ||
+ | If you're adding a new entry, try to place it in alphabetical order in the list: | ||
+ | [[File:Exampe_url.png|800px]] | ||
3. When you are done editing the file, scroll to the bottom. Fill in '''commit summary''' and '''extended description'''. | 3. When you are done editing the file, scroll to the bottom. Fill in '''commit summary''' and '''extended description'''. | ||
− | [[File:Screenshot-2.png|800px]] | + | [[File:Screenshot-2.png|800px]] |
4. When you're ready to save your changes, click on <code>commit changes</code>. In a few minutes your changes will be available on [http://staging.wormbase.org staging.wormbase.org] | 4. When you're ready to save your changes, click on <code>commit changes</code>. In a few minutes your changes will be available on [http://staging.wormbase.org staging.wormbase.org] | ||
The web team will bring your changes over to production once everything is thoroughly tested and ready. | The web team will bring your changes over to production once everything is thoroughly tested and ready. | ||
+ | |||
+ | [[Category: Third Party Developers (Web Dev)]] |
Latest revision as of 15:07, 19 June 2014
If you are a member of the WormBase project on github - you can help us maintain the website! Right from your browser.
Maintain external links
1. Go to https://github.com/WormBase/website/blob/staging/root/templates/config/external_urls
Make sure you're on the staging
branch.
2. Click on edit
. The code will become an interactive text editor where you can make your changes.
You can help us by adding new entries or maintaining current entries. All entries should be in the form:
Example = { description = 'Short description of this resource, will appear when hovering over link' maintainer = 'John Smith' email = 'john@example.org' base = 'http://www.example.org/' search = 'http://www.example.org/search?q=%s' }
If you're adding a new entry, try to place it in alphabetical order in the list:
3. When you are done editing the file, scroll to the bottom. Fill in commit summary and extended description.
4. When you're ready to save your changes, click on commit changes
. In a few minutes your changes will be available on staging.wormbase.org
The web team will bring your changes over to production once everything is thoroughly tested and ready.