Difference between revisions of "Website:Contribute from GitHub"

From WormBaseWiki
Jump to navigationJump to search
 
(2 intermediate revisions by 2 users not shown)
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'
 
     }
 
     }
Line 30: Line 30:
  
 
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.

   External urls 1.png

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:

   Exampe url.png

3. When you are done editing the file, scroll to the bottom. Fill in commit summary and extended description.

   Screenshot-2.png

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.