Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Deploy Website using Jekyll

on:
push:
pull_request:
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
bundler-cache: true
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
if: ${{ github.repository == 'qutip/qutip.github.io' && github.ref == 'refs/heads/master' }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
4 changes: 1 addition & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
source "https://rubygems.org"

gem "github-pages", "~> 231", group: :jekyll_plugins
gem "webrick", "~> 1.8"
gem "csv", "~> 3.3"
gem "jekyll", "~> 4.4"
6 changes: 6 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
title: QuTiP - Quantum Toolbox in Python
defaults:
-
scope:
path: ""
values:
layout: default
exclude:
- "build-scripts/"
- "CNAME"
Expand Down
1 change: 1 addition & 0 deletions _includes/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
<li><h6 class="dropdown-header">Previous Versions</h6></li>
<li><a class="dropdown-item" href="https://qutip.readthedocs.io/en/qutip-4.7.x/">QuTiP 4.7.x</a></li>
<li><a class="dropdown-item" href="https://colab.research.google.com/drive/18TcuHNQifYSHdGey7otK8IPDB1YbDZpW?usp=sharing">Migrate to QuTiP v5</a></li>
<li><a class="dropdown-item" href="/documentation">All Versions</a></li>
</ul>
</li>
<li class="nav-item dropdown-center">
Expand Down
2 changes: 1 addition & 1 deletion _includes/supp_org.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="container-xxl my-center-section">
<div id="supporting-organizations" class="container-xxl my-center-section">
<h2>Supporting Organisations</h2>
<p>
Developers from <a href="https://dml.riken.jp/" target="about:blank">Nori's Lab</a>,
Expand Down
1 change: 0 additions & 1 deletion devs.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: QuTiP Contributors
layout: default
---

# QuTiP Contributors
Expand Down
8 changes: 3 additions & 5 deletions documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ title: QuTiP Documentation

# Users guide

Here you can find direct links to all our documentation for new and old versions of QuTiP.
If you are interested in contributing to QuTiP, check out the <a href="https://qutip.readthedocs.io/en/stable/development/contributing.html">contribution section in our documentation</a>.

## Latest releases

### Version 5.1.1
Expand Down Expand Up @@ -201,8 +204,3 @@ title: QuTiP Documentation
<a onclick="javascript:_gaq.push(['_trackEvent','download','qutip-doc','qutip-2.2.0-DOC.pdf']); void(0);" href="downloads/2.2.0/QuTiP-2.2.0-DOC.pdf">PDF documentation</a>
</div>
</div>


## Development documentation

The documentation for the development version of QuTiP is available at the <a href="https://github.com/qutip/qutip-doc">qutip-doc</a> github repository.
18 changes: 9 additions & 9 deletions download.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
---
title: QuTiP Features
title: QuTiP Releases
---

<div class="row">
<div class="col-md-12">
<div class="alert alert-danger">
QuTiP has been developed over seven years by volunteers working in their spare time. If you find QuTiP useful, please consider taking a minute of your own time and <a href='citing.html'>citing it</a> in your publications.
</div>
</div>
</div>

# Download

The recommended way to install QuTiP is with conda or pip, see the
[documentation](https://qutip.org/docs/latest/installation.html) for details.

<div class="row">
<div class="col-md-12">
<div class="banner" style="margin-top: 0;">
<p id="cite">This page has been archived! For the latest updates please refer to the release info on our <a href="https://github.com/qutip/qutip/releases">GitHub Page</a></p>.
</div>
</div>
</div>

## Latest releases

### Verion 5.1.1 - 15 January 2025
Expand Down
1 change: 0 additions & 1 deletion news.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: default
title: QuTiP News
---

Expand Down