ShellRS
ShellRS 是一款免費、開源的 SSH 客戶端,使用 Rust 編寫:主機管理、終端機、WinSCP 風格的 SFTP 與埠轉發,全部於一個 GPU 渲染視窗中,支援 macOS、Windows 與 Linux。
AI 翻譯
製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Fortran-lang's base Sphinx domain to document Fortran projects.
Status: This project is preparing its first official 0.1.x release. The core API is usable and tested; feedback and issue reports are welcome.
For regular usage:
pip install sphinx-fortran-domain
For editable install for development:
pip install -e .
Install with documentation dependencies:
pip install -e ".[docs]"
Build HTML documentation:
cd docs
make html
In conf.py:
extensions = [
"sphinx_fortran_domain",
]
# Where your Fortran sources live (directories, files, or glob patterns)
fortran_sources = [
"../src", # directory
"../example/*.f90", # glob pattern
]
# Exclude sources from parsing (directories, files, or glob patterns)
fortran_sources_exclude = [
"../example/legacy", # directory
"../example/skip_this.f90", # file
"../example/**/generated_*.f90", # glob
]
# Select a lexer (built-in: "regex")
fortran_lexer = "regex"
# Doc comment convention
# Examples: '!>' or '!!' or '!@'
fortran_doc_chars = [">", "!"]
Manual declarations (create targets for cross-references):
.. f:function:: add_vectors(vec1, vec2)
.. f:subroutine:: normalize_vector(vec)
Autodoc-style views from parsed sources:
.. f:module:: example_module
.. f:submodule:: stdlib_quadrature_trapz
.. f:program:: test_program
Cross-references:
See :f:mod:`example_module` and :f:subr:`normalize_vector`.
See the full step-by-step guide in the documentation: docs/api/lexers.rst.
External packages can register a lexer at import/setup time:
from sphinx_fortran_domain.lexers import register_lexer
def setup(app):
register_lexer("my-lexer", lambda: MyLexer())
Then use fortran_lexer = "my-lexer".
This extension parses Fortran doc comments as reStructuredText fragments, so Sphinx
roles/directives work inside docs (including math when sphinx.ext.mathjax is enabled).
Supported math styles:
!> .. math:: \hat{v} = \frac{\vec{v}}{|\vec{v}|}
Inline math also works via :math::
!> The magnitude is :math:`|\vec{v}| = \sqrt{x^2 + y^2 + z^2}`.