###################################################################Thecompleteguideto'How to create a new FEniCS featured article'####################################################################GettheFEniCSwebsourcecode:gitclonegit@bitbucket.org:fenics-project/fenics-web.git#Gotherecdfenics-web#Checkoutoutyournewfeaturedarticlebranch:gitcheckout-buser/featured-article-<xyz>#ReadtheREADMEsothatyouhavedonethatcatREADME.rst#Thesourceforthefeaturedarticlesislocatedunder#./source/featured/<YYYY>.cdsource/featured#mkdir<YYYY>#ifnotexistingcd<YYYY>#Now,readytostartwriting!#Forinstance,youcanstartbycopyinganoldfeaturedarticle:cp../2012/csf.rst<my_shiny_new_featured_article.rst>#AsalloftheFEniCSwebpages,thesearticlesarewritteninthe#reST(.rst)format.Google'sphinx rst tutorial'ifyouarenot#familiarwiththisformat.Orifyouarereallylazy,justgohere:#http://sphinx-doc.org/rest.html#<Write2-3paragraphsaboutyourcoolnewfeature>#Placeyourfiguresandimagesunder./source/featured/YYYY/images/#andrefertothemusing:#..image::images/my_really_pretty_plot.png#Buildthewebpages(don'tworry,youwillnotbreakanythingpublic)cd../../../..makeweb#Lookattheresultsfirefoxbuild/html/featured/<YYYY/my_shiny_new_featured_article.html>&#<Edit,makewebandrepeatuntilyouarehappywiththeresult>#<Makesuretocommityournewfiles!>:gitaddsource/featured/<YYYY/my_shiny_new_featured_article.rst>gitadd<yourimages>gitcommit-a#Findaniceimageforthesliderbaroftherightsize,namely#366x282andplaceitunder#./source/_static/images/featured/featured_item_xyz.png>#Remembertogitadditwhileyouareatitgitadd./source/_static/images/featured/featured_item_xyz.png>#Updatethemainindexpagebyupdatingthelistofslideritemsin#./source/index.inc(Justcopyandpasteoneoftheotheritemsand#updatethereferences).Andthencommitthesliderbarupdates.gitcommit-a#Finally,makeapullrequesttoFEniCS-web.Congratulations,mission#accomplished!#Alternatively,forFEniCS-webadmins,do:makecleanmakewebmakepublish#Mergeandpushyourchanges
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.