Skip to content

Commit

Permalink
Merge branch 'docs' of github.com:MIGG-NTU/PyTomoATT into docs
Browse files Browse the repository at this point in the history
  • Loading branch information
xumi1993 committed Jul 12, 2024
2 parents f6dad36 + 6d2a433 commit d3dd40e
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 23 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ name: Build documentations
on:
push:
branches: [ "docs" ]
pull_request:
branches: [ "main" ]


workflow_call:
inputs:
config-path:
required: true
type: string
jobs:
deploy:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -47,4 +48,4 @@ jobs:
# Only keep the latest commit to avoid bloating the repository
force_orphan: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
user_email: 'github-actions[bot]@users.noreply.github.com'
8 changes: 3 additions & 5 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
project = 'PyTomoATT'
copyright = '2023, Mijian Xu'
author = 'Mijian Xu'
release = '0.1.4'
release = '0.1.8'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand All @@ -26,9 +26,6 @@
"sphinx.ext.mathjax",
"sphinx.ext.todo",
"sphinx.ext.viewcode",
# "sphinxcontrib.icon",
# "sphinx_gallery.gen_gallery",
# 'sphinxcontrib.bibtex',
]


Expand Down Expand Up @@ -79,7 +76,8 @@
copybutton_remove_prompts = True


jupyter_execute_notebooks = "cache"
# jupyter_execute_notebooks = "cache"
nb_execution_mode = "cache"
html_extra_path = []
html_title = project
html_css_files = ["custom.css"]
Expand Down
6 changes: 6 additions & 0 deletions source/modules/src_rec/pytomoatt.src_rec.SrcRec.copy.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pytomoatt.src\_rec.SrcRec.copy
==============================

.. currentmodule:: pytomoatt.src_rec

.. automethod:: SrcRec.copy
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pytomoatt.src\_rec.SrcRec.remove\_specified\_recs
=================================================

.. currentmodule:: pytomoatt.src_rec

.. automethod:: SrcRec.remove_specified_recs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pytomoatt.src\_rec.SrcRec.select\_by\_datetime
==============================================

.. currentmodule:: pytomoatt.src_rec

.. automethod:: SrcRec.select_by_datetime
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pytomoatt.src\_rec.SrcRec.select\_depth
=======================================

.. currentmodule:: pytomoatt.src_rec

.. automethod:: SrcRec.select_depth
6 changes: 6 additions & 0 deletions source/modules/src_rec/pytomoatt.src_rec.SrcRec.update.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pytomoatt.src\_rec.SrcRec.update
================================

.. currentmodule:: pytomoatt.src_rec

.. automethod:: SrcRec.update
32 changes: 19 additions & 13 deletions source/modules/src_rec/src_rec.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,31 @@ pytomoatt.src_rec
:toctree: .
:nosignatures:

~SrcRec.read
~SrcRec.write
~SrcRec.add_noise
~SrcRec.append
~SrcRec.calc_distance
~SrcRec.copy
~SrcRec.count_events_per_station
~SrcRec.erase_duplicate_events
~SrcRec.from_seispy
~SrcRec.geo_weighting
~SrcRec.generate_double_difference
~SrcRec.update
~SrcRec.reset_index
~SrcRec.plot
~SrcRec.read
~SrcRec.remove_rec_by_new_src
~SrcRec.remove_specified_recs
~SrcRec.remove_src_by_new_rec
~SrcRec.update_num_rec
~SrcRec.erase_duplicate_events
~SrcRec.select_phase
~SrcRec.reset_index
~SrcRec.select_box_region
~SrcRec.calc_distance
~SrcRec.select_by_datetime
~SrcRec.select_depth
~SrcRec.select_distance
~SrcRec.select_one_event_in_each_subgrid
~SrcRec.count_events_per_station
~SrcRec.geo_weighting
~SrcRec.add_noise
~SrcRec.select_phase
~SrcRec.update
~SrcRec.update_num_rec
~SrcRec.write
~SrcRec.write_receivers
~SrcRec.write_sources
~SrcRec.from_seispy
~SrcRec.plot


0 comments on commit d3dd40e

Please sign in to comment.