GithubHelp home page GithubHelp logo

dfki-nlp.github.io's Introduction

Add a publication / edit a post

Clone the website repo:

git clone [email protected]:DFKI-NLP/dfki-nlp.github.io.git

Create a new publication, e.g. by copying an old one:

cp -r content/publication/acl2022-repl4nlp-chen-fewie/

And edit the files index.md and cite.bib. Then just commit and push. Check whether the commit was built correctly (e.g. here: https://github.com/DFKI-NLP/dfki-nlp.github.io/actions)

Add / update a news post:

cp -r content/post/acl2022

and edit index.md Then just commit and push. Check whether the commit was built correctly (e.g. here: https://github.com/DFKI-NLP/dfki-nlp.github.io/actions)

How-To (with Hugo)

For local testing, install Hugo (https://gohugo.io/):

wget https://github.com/gohugoio/hugo/releases/download/v0.80.0/hugo_extended_0.80.0_Linux-64bit.tar.gz
tar -xvf hugo_extended_0.80.0_Linux-64bit.tar.gz
sudo mv hugo /usr/local/bin/

Clone the website repo:

git clone [email protected]:DFKI-NLP/dfki-nlp.github.io.git

Init all submodules in the repo:

cd dfki-nlp.github.io
git submodule update --init --recursive

Serve the website locally (reachable at http://localhost:1313/):

hugo server

Add a publication

Assuming that we are in the top-level directory, create a new publication entry:

hugo new --kind publication publication/<my-publication>

Go to content > publication > <my-publication> and edit index.md. Here is an example: https://raw.githubusercontent.com/DFKI-NLP/dfki-nlp.github.io/src/content/publication/Fine-tuning-Pre-Trained-Transformer-Language-Models-to-Distantly-Supervised-Relation-Extraction/index.md

If you add a file called cite.bib with a bibtex entry, hugo will create a cite button. File (e.g. poster) can be added to the directory and linked to a "poster" button (see example). Links to the paper and/or demo can be added as well.

More details can be found here: https://sourcethemes.com/academic/docs/managing-content/#manually There is also a way to automatically create a publication from bibtex but it did not work for me: https://sourcethemes.com/academic/docs/managing-content/#automatically

Publish Website

To publish your changes, add and commit all your changes (make sure the website looks as expected with hugo server):

git commit -m "Added my latest NeurIPS publication"
git push origin src

IMPORTANT: Only push to the src branch! The repository contains a Github action that automatically builds and publishes the static page to the master branch.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.