Skip to content

Commit cb3b34a

Browse files
author
root
committed
Merge branch 'devel' of https://github.com/deepmodeling/dpgen into stru
2 parents c226a07 + 2158dba commit cb3b34a

File tree

149 files changed

+1452
-1287
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+1452
-1287
lines changed

.git_archival.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
node: $Format:%H$
22
node-date: $Format:%cI$
33
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$
4-
ref-names: $Format:%D$

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: uv pip install --system -e .[test]
2323
- name: Test
2424
run: coverage run --source=./dpgen -m unittest -v && coverage report
25-
- uses: codecov/codecov-action@v4
25+
- uses: codecov/codecov-action@v5
2626
env:
2727
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2828
pass:

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.6.0
5+
rev: v5.0.0
66
hooks:
77
# there are many log files in tests
88
# TODO: seperate py files and log files
@@ -28,7 +28,7 @@ repos:
2828

2929
# Python
3030
- repo: https://github.com/astral-sh/ruff-pre-commit
31-
rev: v0.4.1
31+
rev: v0.9.2
3232
hooks:
3333
- id: ruff
3434
args: ["--fix"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ For detailed usage and parameters, read [DP-GEN documentation](https://docs.deep
5353

5454
* [Tutorials](https://tutorials.deepmodeling.com/en/latest/Tutorials/DP-GEN/): basic tutorials for DP-GEN.
5555
* [Examples](examples): input files in [JSON](https://docs.python.org/3/library/json.html) format.
56-
* [Publications](https://deepmodeling.com/blog/papers/dpgen/): Published research articles using DP-GEN.
56+
* [Publications](https://blogs.deepmodeling.com/papers/dpgen/): Published research articles using DP-GEN.
5757
* [User guide](https://docs.deepmodeling.com/projects/dpgen/en/latest/user-guide/): frequently asked questions listed in troubleshooting.
5858

5959
## License

doc/conf.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# -- Project information -----------------------------------------------------
2020

2121
project = "DP-GEN"
22-
copyright = "2020-%d, DeepModeling" % date.today().year
22+
copyright = "2020-%d, DeepModeling" % date.today().year # noqa: UP031
2323
author = "DeepModeling"
2424

2525

@@ -30,7 +30,7 @@
3030
# ones.
3131
# extensions = [
3232
# 'recommonmark',
33-
# "sphinx_rtd_theme",
33+
# "sphinx_book_theme",
3434
# 'myst_parser',
3535
# 'sphinx_markdown_tables',
3636
# 'sphinx.ext.autosummary'
@@ -39,7 +39,7 @@
3939
extensions = [
4040
"deepmodeling_sphinx",
4141
"dargs.sphinx",
42-
"sphinx_rtd_theme",
42+
"sphinx_book_theme",
4343
"myst_parser",
4444
"sphinx.ext.autosummary",
4545
"sphinx.ext.viewcode",
@@ -71,14 +71,20 @@
7171
# The theme to use for HTML and HTML Help pages. See the documentation for
7272
# a list of builtin themes.
7373
#
74-
html_theme = "sphinx_rtd_theme"
74+
html_theme = "sphinx_book_theme"
7575
html_logo = "_static/logo.svg"
7676

7777
# Add any paths that contain custom static files (such as style sheets) here,
7878
# relative to this directory. They are copied after the builtin static files,
7979
# so a file named "default.css" will overwrite the builtin "default.css".
8080
html_static_path = ["_static"]
8181
html_css_files = ["css/custom.css"]
82+
html_theme_options = {
83+
"logo": {
84+
"image_light": "_static/logo.svg",
85+
"image_dark": "_static/logo-dark.svg",
86+
}
87+
}
8288

8389
autodoc_default_flags = ["members"]
8490
autosummary_generate = True

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ DPGEN's documentation
3131
:glob:
3232

3333
Tutorials <https://tutorials.deepmodeling.com/en/latest/Tutorials/DP-GEN/>
34-
Publications <https://deepmodeling.com/blog/papers/dpgen/>
34+
Publications <https://blogs.deepmodeling.com/papers/dpgen/>
3535

3636
.. _user-guide:
3737

doc/init/init-bulk-jdata.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ dpgen init_bulk parameters
22
======================================
33

44
.. note::
5-
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://deepmodeling.com/dpgui/input/dpgen-init-bulk>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
5+
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://dpgui.deepmodeling.com/input/dpgen-init-bulk>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
66

77
.. dargs::
88
:module: dpgen.data.arginfo

doc/init/init-bulk-mdata.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ dpgen init_bulk machine parameters
22
==================================
33

44
.. note::
5-
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://deepmodeling.com/dpgui/input/dpgen-init-bulk-machine>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
5+
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://dpgui.deepmodeling.com/input/dpgen-init-bulk-machine>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
66

77
.. dargs::
88
:module: dpgen.data.arginfo

doc/init/init-reaction-jdata.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ dpgen init_reaction parameters
22
======================================
33

44
.. note::
5-
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://deepmodeling.com/dpgui/input/dpgen-init-reaction>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
5+
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://dpgui.deepmodeling.com/input/dpgen-init-reaction>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
66

77
.. dargs::
88
:module: dpgen.data.arginfo

doc/init/init-reaction-mdata.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ dpgen init_reaction machine parameters
22
======================================
33

44
.. note::
5-
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://deepmodeling.com/dpgui/input/dpgen-init-reaction-machine>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
5+
One can load, modify, and export the input file by using our effective web-based tool `DP-GUI <https://dpgui.deepmodeling.com/input/dpgen-init-reaction-machine>`_ online or hosted using the :ref:`command line interface <cli>` :code:`dpgen gui`. All parameters below can be set in DP-GUI. By clicking "SAVE JSON", one can download the input file.
66

77
.. dargs::
88
:module: dpgen.data.arginfo

0 commit comments

Comments
 (0)