wiki
wiki copied to clipboard
The official source of truth for the Lisbon Data Science Academy. 📚💻 https://ldssa.github.io/wiki/
LDSA Wiki
This Wiki is hosted on https://ldssa.github.io/wiki/. The Wiki pages are stored inside /docs/_docs folders as markdown files.
How to edit an existing page
If you want to edit an existing page, browse it in the pages directory /docs/_docs/.
- Locate the file (page) you want to edit and click on it;
- Click the edit button (pencil symbol) on the top-right corner to edit the page;
- When you're ready, insert a commit message at the end of the page and select the option
Create a new branch. ClickPropose changes; - The Documentation Team will review and approve your changes.
Note: Please store any images in /docs/images.
Alternatively, you can clone this repo, make your changes locally on a new branch and create a merge request.
How to create a new page
If you want to edit an existing page, browse it in the pages directory /docs/_docs/.
-
Navigate to the folder (menu category) where you want to store your page;
-
Click the button "Add file" on the top-right corner to start editing the new page;
-
Insert the header first. This is where you specify to what sidebar category the page belongs to, its title and the order in which it appears on that sidebar category.
Example:
--- title: Application Process category: Applicants order: 1 --- -
When you're ready, insert a commit message at the end of the page and select the option
Create a new branch. ClickPropose changes; -
The Documentation Team will review and approve your changes.
Note: Please store any images in /docs/images.
Alternatively, you can clone this repo, make your changes locally on a new branch and create a merge request.
Develop
This section describes the necessary packages to be installed if you want to copy and run the website on your local machine.
1. Install necessary packages
-
Update and install all prerequisites:
sudo apt-get update sudo apt-get install ruby-full build-essential zlib1g-dev -
Add the environment variables to
~/.bashrcby running:echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc source ~/.bashrc -
Install
jekyllandbundlersudo gem install jekyll sudo gem install bundler -v '< 2.0'
That's it!
2. Run the site locally
Run the following inside the docs/ directory:
bundle install
bundle exec jekyll serve