Skip to content

Commit c41b9e0

Browse files
committed
chore: Rename package
1 parent 6f3a105 commit c41b9e0

25 files changed

+144
-108
lines changed

README.rst

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
=================
2-
sphinx-sqlite3fts
3-
=================
1+
===================
2+
atsphinx-sqlite3fts
3+
===================
44

5-
Sphinx new search page using SQL.js and SQLite database included FTS extension.
5+
Power search for Sphinx by SQLite3-FTS extension.
66

7-
.. image:: https://img.shields.io/pypi/v/sphinx-sqlite3fts.svg
8-
:target: https://pypi.org/project/sphinx-sqlite3fts/
7+
.. image:: https://img.shields.io/pypi/v/atsphinx-sqlite3fts.svg
8+
:target: https://pypi.org/project/atsphinx-sqlite3fts/
99

10-
.. image:: https://github.com/attakei-lab/sphinx-sqlite3fts/actions/workflows/main.yml/badge.svg?branch=main
10+
.. image:: https://github.com/atsphinx/sqlite3fts/actions/workflows/main.yml/badge.svg?branch=main
1111
:alt: Run CI
12-
:target: https://github.com/attakei-lab/sphinx-sqlite3fts/actions/workflows/main.yml
12+
:target: https://github.com/atsphinx/sqlite3fts/actions/workflows/main.yml
1313

14-
.. image:: https://readthedocs.org/projects/sphinx-sqlite3fts/badge/?version=latest
15-
:target: https://sphinx-sqlite3fts.readthedocs.io/en/latest/?badge=latest
14+
.. image:: https://readthedocs.org/projects/atsphinx-sqlite3fts/badge/?version=latest
15+
:target: https://atsphinx-sqlite3fts.readthedocs.io/en/latest/?badge=latest
1616
:alt: Documentation Status
1717

1818
.. note:: This is experimental library
@@ -33,11 +33,9 @@ This will be useful when you want to embed strong full-text search with keeping
3333
Installation
3434
============
3535

36-
This is not published on PyPI.
37-
3836
.. code-block:: console
3937
40-
pip install git+https://github.com/attakei-lab/sphinx-sqlite3fts.git
38+
pip install atsphinx-sqlite3fts
4139
4240
Usage
4341
=====
@@ -50,7 +48,7 @@ Usage
5048
#
5149
# Other extensions
5250
#
53-
"sphinx_sqlite3fts", # Add it
51+
"atsphinx.sqlite3fts", # Add it
5452
]
5553
5654
2. Run builder (html-based builder only).

docs/cli-tool.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
Simple CLI tool
33
===============
44

5-
``sphinx-sqlite3fts`` provides simple CLI tool to display result of searching.
5+
``atsphinx-sqlite3fts`` provides simple CLI tool to display result of searching.
66

77
Requirements
88
============
99

1010
If you want to use CLI tool, it need ``Click`` library.
11-
You can insallt ``sphinx-sqlite3fts`` with extra packages.
11+
You can insallt ``atsphinx-sqlite3fts`` with extra packages.
1212

1313
.. code-block:: console
1414
15-
pip install 'sphinx-sqlite3fts[cli]'
15+
pip install 'atsphinx-sqlite3fts[cli]'
1616
1717
Usage example
1818
=============
@@ -27,7 +27,7 @@ To search from database, run command with path of database and keyword.
2727

2828
.. code-block:: console
2929
30-
sphinx-sqlite3fts _build/db.sqlite Hello
30+
atsphinx-sqlite3fts _build/db.sqlite Hello
3131
3232
cli-tool
3333
Simple CLI tool

docs/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
#
44
# For the full list of built-in configuration values, see the documentation:
55
# https://www.sphinx-doc.org/en/master/usage/configuration.html
6-
import sphinx_sqlite3fts
6+
import atsphinx.sqlite3fts
77

88
# -- Project information -----------------------------------------------------
99
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
10-
project = "sphinx-sqlite3fts"
10+
project = "atsphinx-sqlite3fts"
1111
copyright = "2022, Kazuya Takei"
1212
author = "Kazuya Takei"
13-
release = sphinx_sqlite3fts.__version__
13+
release = atsphinx.sqlite3fts.__version__
1414

1515
# -- General configuration ---------------------------------------------------
1616
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
17-
extensions = ["sphinx.ext.githubpages", "sphinx.ext.intersphinx", "sphinx_sqlite3fts"]
17+
extensions = ["sphinx.ext.githubpages", "sphinx.ext.intersphinx", "atsphinx.sqlite3fts"]
1818
templates_path = ["_templates"]
1919
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
2020
language = "en"
@@ -30,7 +30,7 @@
3030
intersphinx_mapping = {
3131
"sphinx": ("https://www.sphinx-doc.org/en/master", None),
3232
}
33-
# sphinx-sqlite3fts
33+
# atsphinx-sqlite3fts
3434
sqlite3fts_use_search_html = True
3535

3636

docs/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Configuration
2222

2323
Use custom search page.
2424

25-
If you set ``True`` for this, ``sphinx-sqlite3fts`` does these.
25+
If you set ``True`` for this, ``atsphinx-sqlite3fts`` does these.
2626

2727
* Override JavaScript file for search.
2828
* Change style to display search results.

docs/database-spec.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ Base
1010
Using SQLite and FTS5 extension.
1111
Details are described in `SQLite website <https://www.sqlite.org/fts5.html>`_.
1212

13-
``sphinx-sqlite3fts`` run these strategy.
13+
``atsphinx-sqlite3fts`` run these strategy.
1414

1515
* Use ``trigram`` tokenizer to search Japanese text (not work with ``unicode61``).
1616
* Split document table and searching virtual table (document has ``page`` that is not target of search).
1717

1818
Tables
1919
======
2020

21-
``sphinx-sqlite3fts`` use peewee to manage database schemas.
21+
``atsphinx-sqlite3fts`` use peewee to manage database schemas.
2222

2323
document table
2424
--------------

docs/getting-started.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ This is published on PyPI.
1818

1919
.. code-block:: console
2020
21-
pip install sphinx-sqlite3fts
21+
pip install atsphinx-sqlite3fts
2222
2323
If you want to try latest source, install from GitHub.
2424

2525
.. code-block:: console
2626
27-
pip install git+https://github.com/attakei-lab/sphinx-sqlite3fts.git
27+
pip install git+https://github.com/atsphinx/sqlite3fts.git
2828
2929
Usage
3030
=====
@@ -34,7 +34,7 @@ At first, configuration on ``conf.py`` of your documentation.
3434
.. code-block:: python
3535
3636
extensions = [
37-
"sphinx_sqlite3fts",
37+
"atsphinx.sqlite3fts",
3838
]
3939
4040
# Set if you want to use for HTML search

docs/index.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
=================
2-
sphinx-sqlite3fts
3-
=================
1+
===================
2+
atsphinx-sqlite3fts
3+
===================
44

55
=============== ============================================================================================================
6-
PyPI .. image:: https://img.shields.io/pypi/v/sphinx-sqlite3fts.svg
7-
:target: https://pypi.org/project/sphinx-sqlite3fts/
6+
PyPI .. image:: https://img.shields.io/pypi/v/atsphinx-sqlite3fts.svg
7+
:target: https://pypi.org/project/atsphinx-sqlite3fts/
88
:alt: Published stable
9-
GitHub Actions .. image:: https://github.com/attakei-lab/sphinx-sqlite3fts/actions/workflows/main.yml/badge.svg?branch=main
10-
:target: https://github.com/attakei-lab/sphinx-sqlite3fts/actions/workflows/main.yml
9+
GitHub Actions .. image:: https://github.com/atsphinx/sqlite3fts/actions/workflows/main.yml/badge.svg?branch=main
10+
:target: https://github.com/atsphinx/sqlite3fts/actions/workflows/main.yml
1111
:alt: Run CI Status
12-
Read the Docs .. image:: https://readthedocs.org/projects/sphinx-sqlite3fts/badge/?version=latest
13-
:target: https://sphinx-sqlite3fts.readthedocs.io/en/latest/?badge=latest
12+
Read the Docs .. image:: https://readthedocs.org/projects/atsphinx-sqlite3fts/badge/?version=latest
13+
:target: https://atsphinx-sqlite3fts.readthedocs.io/en/latest/?badge=latest
1414
:alt: Documentation Status
1515
=============== ============================================================================================================
1616

17-
``sphinx-sqlite3fts`` is sphinx extension to provide some components.
17+
``atsphinx-sqlite3fts`` is sphinx extension to provide some components.
1818

1919
* Full-text search database by FTS5
2020
* Custom HTML to search by user
Lines changed: 60 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) 2022, Kazuya Takei
3-
# This file is distributed under the same license as the sphinx-sqlite3fts
3+
# This file is distributed under the same license as the atsphinx-sqlite3fts
44
# package.
55
# FIRST AUTHOR <EMAIL@ADDRESS>, 2022.
66
#
77
#, fuzzy
88
msgid ""
99
msgstr ""
10-
"Project-Id-Version: sphinx-sqlite3fts \n"
10+
"Project-Id-Version: atsphinx-sqlite3fts \n"
1111
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2022-11-27 22:53+0900\n"
12+
"POT-Creation-Date: 2023-10-25 23:42+0900\n"
1313
"PO-Revision-Date: 2022-11-28 00:40+0900\n"
1414
"Last-Translator: Kazuya Takei <myself@attakei.net>\n"
1515
"Language-Team: Kazuya Takei <myself@attakei.net>\n"
1616
"MIME-Version: 1.0\n"
1717
"Content-Type: text/plain; charset=utf-8\n"
1818
"Content-Transfer-Encoding: 8bit\n"
19-
"Generated-By: Babel 2.11.0\n"
19+
"Generated-By: Babel 2.13.1\n"
2020

2121
#: ../../changelogs.rst:3
2222
msgid "Changelogs"
@@ -27,90 +27,124 @@ msgid "Latest changes"
2727
msgstr ""
2828

2929
#: ../../../CHANGES.rst:6
30-
msgid "next"
30+
msgid "v0.1.1"
3131
msgstr ""
3232

3333
#: ../../../CHANGES.rst
3434
msgid "date"
3535
msgstr "公開日"
3636

3737
#: ../../../CHANGES.rst:8
38-
msgid "future"
39-
msgstr "未定"
38+
msgid "2022-11-28"
39+
msgstr ""
40+
41+
#: ../../../CHANGES.rst:10
42+
msgid "Small bug-fixes."
43+
msgstr ""
44+
45+
#: ../../../CHANGES.rst:13
46+
msgid "Fixes"
47+
msgstr ""
48+
49+
#: ../../../CHANGES.rst:15
50+
msgid "Force override ``searchindex.js`` as blank file."
51+
msgstr ""
4052

41-
#: ../../../CHANGES.rst:11 ../../../CHANGES.rst:50
53+
#: ../../../CHANGES.rst:16
54+
msgid "``searchtools.js`` initialize engine lazy."
55+
msgstr ""
56+
57+
#: ../../../CHANGES.rst:19
58+
msgid "v0.1.0"
59+
msgstr ""
60+
61+
#: ../../../CHANGES.rst:21
62+
msgid "2022-11-27"
63+
msgstr ""
64+
65+
#: ../../../CHANGES.rst:23
66+
msgid "For JavaScript based search-engine."
67+
msgstr ""
68+
69+
#: ../../../CHANGES.rst:26 ../../../CHANGES.rst:65
4270
msgid "Features"
4371
msgstr "機能"
4472

45-
#: ../../../CHANGES.rst:13
73+
#: ../../../CHANGES.rst:28
4674
msgid "Split sections from document for search (useful for refs of page)."
4775
msgstr "FTS上での管理単位をセクションに細分化する。(ページの参照構築用)"
4876

49-
#: ../../../CHANGES.rst:14
77+
#: ../../../CHANGES.rst:29
5078
msgid "Add flag: search from database instead of Sphinx bundled search feature."
5179
msgstr "Sphinx組み込みの検索機能の代わりに、データベースからの検索を可能にする。"
5280

53-
#: ../../../CHANGES.rst:17
81+
#: ../../../CHANGES.rst:32
5482
msgid "v0.0.3"
5583
msgstr ""
5684

57-
#: ../../../CHANGES.rst:19
85+
#: ../../../CHANGES.rst:34
5886
msgid "2022-11-26"
5987
msgstr ""
6088

61-
#: ../../../CHANGES.rst:21
89+
#: ../../../CHANGES.rst:36
6290
msgid "Update documents"
6391
msgstr "ドキュメントの更新"
6492

65-
#: ../../../CHANGES.rst:24
93+
#: ../../../CHANGES.rst:39
6694
msgid "Documentation"
6795
msgstr "ドキュメント"
6896

69-
#: ../../../CHANGES.rst:26
97+
#: ../../../CHANGES.rst:41
7098
msgid "Add badges into readme and documentation."
7199
msgstr "ドキュメントとREADMEへバッジを追加。"
72100

73-
#: ../../../CHANGES.rst:27
101+
#: ../../../CHANGES.rst:42
74102
msgid "Follow notes for v0.0.2"
75103
msgstr "v0.0.2の変更履歴を追記。"
76104

77-
#: ../../../CHANGES.rst:30
105+
#: ../../../CHANGES.rst:45
78106
msgid "v0.0.2"
79107
msgstr ""
80108

81-
#: ../../../CHANGES.rst:32 ../../../CHANGES.rst:45
109+
#: ../../../CHANGES.rst:47 ../../../CHANGES.rst:60
82110
msgid "2022-11-23"
83111
msgstr ""
84112

85-
#: ../../../CHANGES.rst:34
113+
#: ../../../CHANGES.rst:49
86114
msgid "Supporting for local development."
87115
msgstr "ローカル開発用の設定。"
88116

89-
#: ../../../CHANGES.rst:37
117+
#: ../../../CHANGES.rst:52
90118
msgid "Miscellaneous"
91119
msgstr "その他"
92120

93-
#: ../../../CHANGES.rst:39
121+
#: ../../../CHANGES.rst:54
94122
msgid "Use ``bump2version`` for release."
95123
msgstr "``bump2version`` を利用。"
96124

97-
#: ../../../CHANGES.rst:40
125+
#: ../../../CHANGES.rst:55
98126
msgid "Configure about line-length for ``pycodestyle``."
99127
msgstr "``pycodestyle`` 向けの行設定(blackと同じ)"
100128

101-
#: ../../../CHANGES.rst:43
129+
#: ../../../CHANGES.rst:58
102130
msgid "v0.0.1"
103131
msgstr ""
104132

105-
#: ../../../CHANGES.rst:47
133+
#: ../../../CHANGES.rst:62
106134
msgid "This is first release."
107135
msgstr "最初のリリース。"
108136

109-
#: ../../../CHANGES.rst:52
137+
#: ../../../CHANGES.rst:67
110138
msgid "Add ``sqlite`` builder that generate db.sqlite."
111139
msgstr "データベース作成のみを行う、 ``sqlite`` ビルダーを作成。"
112140

113-
#: ../../../CHANGES.rst:53
141+
#: ../../../CHANGES.rst:68
114142
msgid "Inject generator for database into ``html`` based builder."
115143
msgstr "``html`` 系ビルダー向けに、データベース作成を行う処理を追加。"
116144

145+
#~ msgid "next"
146+
#~ msgstr ""
147+
148+
#~ msgid "future"
149+
#~ msgstr "未定"
150+

0 commit comments

Comments
 (0)