-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-org project with https://github.com/sphinx-notes/template (#24)
- Loading branch information
1 parent
e88cf9d
commit 33e4cd1
Showing
35 changed files
with
746 additions
and
520 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"template": "https://github.com/sphinx-notes/template", | ||
"commit": "202f9756fdd661ab195d20bb6926a9481ee1d78a", | ||
"checkout": null, | ||
"context": { | ||
"cookiecutter": { | ||
"namespace": "sphinxnotes", | ||
"name": "lilypond", | ||
"full_name": "sphinxnotes-lilypond", | ||
"author": "Shengyu Zhang", | ||
"description": "Sphinx extension for embedding LilyPond scores", | ||
"version": "1.6.0", | ||
"github_owner": "sphinx-notes", | ||
"github_repo": "lilypond", | ||
"pypi_name": "sphinxnotes-lilypond", | ||
"pypi_owner": "SilverRainZ", | ||
"dependencies": [ | ||
"Sphinx >= 4" | ||
], | ||
"additional_docs": [], | ||
"_template": "https://github.com/sphinx-notes/template" | ||
} | ||
}, | ||
"directory": null | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,36 @@ | ||
name: Pages | ||
name: Deploy Sphinx documentation to Pages | ||
|
||
# Runs on pushes targeting the default branch | ||
on: | ||
push: | ||
branches: | ||
- master | ||
branches: [master] | ||
|
||
# Cancel any in-progress job or run | ||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency | ||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
pages: | ||
runs-on: ubuntu-20.04 | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
permissions: | ||
pages: write | ||
id-token: write | ||
steps: | ||
- name: Setup locale | ||
run: | | ||
- run: | | ||
sudo locale-gen en_US.UTF-8 | ||
sudo update-locale | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update; | ||
sudo apt-get install lilypond timidity imagemagick fonts-noto-cjk | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
- uses: actions/checkout@master | ||
with: | ||
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | ||
fetch-depth: 0 | ||
submodules: true # for jianpu-ly | ||
- name: Build and Commit | ||
uses: sphinx-notes/pages@v2 | ||
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
- id: deployment | ||
uses: sphinx-notes/pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: gh-pages | ||
checkout: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -128,5 +128,8 @@ dmypy.json | |
# Pyre type checker | ||
.pyre/ | ||
|
||
# Sphinx build dir | ||
_build/ | ||
# Poetry | ||
poetry.lock | ||
|
||
# Sphinx | ||
docs/_build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
include README.rst | ||
# This file is generated from sphinx-notes/template. | ||
# You need to consider modifying the TEMPLATE or modifying THIS FILE. | ||
|
||
include LICENSE | ||
recursive-include doc * | ||
prune doc/_build | ||
include README.rst | ||
|
||
recursive-include tests * | ||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] | ||
|
||
recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,30 @@ | ||
============================= | ||
Sphinx extension for LilyPond | ||
============================= | ||
.. This file is generated from sphinx-notes/template. | ||
You need to consider modifying the TEMPLATE or modifying THIS FILE. | ||
Please refer to https://sphinx-notes.github.io/lilypond/ for documentation. | ||
==================== | ||
sphinxnotes-lilypond | ||
==================== | ||
|
||
.. image:: https://img.shields.io/github/actions/workflow/status/sphinx-notes/lilypond/pages.yml | ||
:target: https://sphinx.silverrainz.me/lilypond | ||
:alt: Documentation Status | ||
|
||
.. image:: https://img.shields.io/github/license/sphinx-notes/lilypond | ||
:target: https://github.com/sphinx-notes/lilypond/LICENSE | ||
:alt: Open Source License | ||
|
||
.. image:: https://img.shields.io/pypi/v/sphinxnotes-lilypond.svg | ||
:target: https://pypi.python.org/pypi/sphinxnotes-lilypond | ||
:alt: PyPI Package | ||
|
||
.. image:: https://img.shields.io/pypi/dw/sphinxnotes-lilypond | ||
:target: https://pypi.python.org/pypi/sphinxnotes-lilypond | ||
:alt: PyPI Package Downloads | ||
|
||
Sphinx extension for embedding LilyPond scores. | ||
|
||
* Documentation: https://sphinx.silverrainz.me/lilypond | ||
* Source: https://github.com/sphinx-notes/lilypond | ||
* Changelog: https://sphinx.silverrainz.me/lilypond/changelog.html | ||
* Tracker: https://github.com/sphinx-notes/lilypond/issues | ||
* Download: https://pypi.org/project/sphinxnotes-lilypond/#files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
.. lily:: | ||
:noedge: | ||
:nofooter: | ||
:audio: | ||
|
||
\score { | ||
<< | ||
\new Staff { | ||
\time 4/4 | ||
\tempo 4 = 70 | ||
c' d' e' f' g' a' b' c'' | ||
} | ||
>> | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.. lilyinclude:: /_scores/witch-spring.ly | ||
:nofooter: | ||
:noedge: | ||
:audio: |
File renamed without changes.
File renamed without changes.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.. list-table:: | ||
:align: left | ||
|
||
* - :ref:`📅 {{ date }} <any-version.date>` | ||
- :tag:`{{ title }}` | ||
|
||
|
||
{% for line in content %} | ||
{{ line }} | ||
{% endfor %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
.. This file is generated from sphinx-notes/template. | ||
You need to consider modifying the TEMPLATE or modifying THIS FILE. | ||
========== | ||
Change Log | ||
========== | ||
|
||
.. Example: | ||
1.0.0 | ||
===== | ||
.. version:: _ | ||
:date: yyyy-mm-dd | ||
Change log here. | ||
Version 1.x | ||
----------- | ||
|
||
.. version:: 1.6.0 | ||
:date: 2022-10-08 | ||
|
||
- Fix resolution of SVG output (:pull:`18`) | ||
- Add basic Jianpu (Numbered Musical Notation) support (:issue:`17`) | ||
- Don't panic when running unsupported builders (:issue:`20`) | ||
|
||
.. version:: 1.5 | ||
:date: 2022-03-13 | ||
|
||
- Add LaTeX builder suppport (:issue:`11`) | ||
|
||
.. version:: 1.4 | ||
:date: 2021-12-19 | ||
|
||
- Note ly files as dependencies, so Sphinx will rebuild document when ly file changes | ||
- Won't crash when score file does not exist | ||
- Left a "system message" paragraphs when score build failed | ||
- Add support for MP3 audio format, FFmpeg_ is required | ||
|
||
.. _FFmpeg: https://ffmpeg.org/ | ||
|
||
Version 1.3 | ||
----------- | ||
|
||
.. version:: 1.3 | ||
:date: 2021-11-07 | ||
|
||
- Add ``controls`` flag for specifing the position of the control bar | ||
|
||
.. version:: 1.2 | ||
:date: 2021-09-17 | ||
|
||
- Simplify argument passing between lilypond binding and sphinx extension | ||
- Add ``loop`` flag for directives | ||
- Add confval ``lilypond_audio_volume`` | ||
|
||
.. version:: 1.1 | ||
:date: 2021-09-12 | ||
|
||
- Add confval ``lilypond_png_resolution`` for customizing score resolution in PNG format | ||
- Add confval ``lilypond_inline_score_size`` for customizing height of :ref:`inline score <lily-role>` | ||
- Stop using ``<figure>`` as container of block-level score, which is buggy on Safari | ||
|
||
.. version:: 1.0 | ||
:date: 2021-06-26 | ||
|
||
- Rebuild env when configuration changed | ||
- Fix wrong license value | ||
|
||
Pre-release | ||
----------- | ||
|
||
.. version:: 1.0a2 | ||
:date: 2020-12-27 | ||
|
||
- Support multiple pages documents | ||
- Imporve of lilypond outputs cache | ||
|
||
.. version:: 1.0a1 | ||
:date: 2020-12-26 | ||
|
||
- Fix invalid insertion of ``\header`` | ||
- Set default audio format to wav | ||
|
||
.. version:: 1.0a0 | ||
:date: 2020-12-06 | ||
|
||
The alpha version is out, enjoy~ |
Oops, something went wrong.