Skip to content

Commit

Permalink
Merge pull request #11136 from privatemaker/rename-dir-core-server
Browse files Browse the repository at this point in the history
move dir developer_manual/core/  to developer_manual/server/
  • Loading branch information
susnux authored Sep 24, 2023
2 parents 8fe7af9 + cf81672 commit d9e6284
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 10 deletions.
4 changes: 2 additions & 2 deletions build/get-server-sources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ printf "\n"
if [ -d server/.git ]; then
cd server
git remote set-branches --add origin $NC_BRANCH
git fetch
git fetch --depth 1
git checkout $NC_BRANCH
git reset --hard origin/$NC_BRANCH
else
git clone https://github.com/nextcloud/server server --depth 1 --branch $NC_BRANCH
git clone https://github.com/nextcloud/server server --depth 1 --single-branch --branch $NC_BRANCH
fi;
13 changes: 12 additions & 1 deletion developer_manual/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions += ['sphinx.ext.todo', 'rst2pdf.pdfbuilder', 'sphinx.ext.intersphinx', 'sphinxcontrib.phpdomain', 'sphinx_toolbox.collapse']
extensions += ['sphinx.ext.todo', 'rst2pdf.pdfbuilder', 'sphinx.ext.intersphinx', 'sphinxcontrib.phpdomain', 'sphinx_toolbox.collapse', 'sphinx_reredirects']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['../_shared_assets/templates']
Expand Down Expand Up @@ -314,3 +314,14 @@
highlight_options = {
'php': {'startinline': True},
}

# Redirect old URLs
# https://documatt.gitlab.io/sphinx-reredirects/usage.html
redirects = {
"core/index": "../server",
"core/code-back-end": "../server/code-back-end.html",
"core/code-front-end": "../server/code-front-end.html",
"core/externalapi": "../server/externalapi.html",
"core/static-analysis": "../server/static-analysis.html",
"core/unit-testing": "../server/unit-testing.html"
}
2 changes: 1 addition & 1 deletion developer_manual/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Table of contents
getting_started/index
basics/index
app_development/index
core/index
server/index
digging_deeper/index
app_publishing_maintenance/index
design/index
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ adjust your php.ini and file rights.
su -c "chmod a+rx data/"
su -c "chmod a+w data/nextcloud.log"

Running unit tests for the Nextcloud core project
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The core project provides core unit tests using different database backends like sqlite, mysql, pgsql, oci (for Oracle).
Running unit tests for the Nextcloud server project
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The server project provides server unit tests using different database backends like sqlite, mysql, pgsql, oci (for Oracle).
Every database to test needs to accessible either

- natively, setup with
Expand Down Expand Up @@ -133,10 +133,10 @@ Further reading
- https://www.youtube.com/watch?v=4E4672CS58Q&feature=bf_prev&list=PLBDAB2BA83BB6588E
- Clean Code: A Handbook of Agile Software Craftsmanship (Robert C. Martin)

JavaScript unit testing for core
--------------------------------
JavaScript unit testing for server
----------------------------------

JavaScript Unit testing for **core** and **core apps** is done using the `Karma <http://karma-runner.github.io>`_ test runner with `Jasmine <https://jasmine.github.io/>`_.
JavaScript Unit testing for **server** and **server apps** is done using the `Karma <http://karma-runner.github.io>`_ test runner with `Jasmine <https://jasmine.github.io/>`_.

Installing Node JS
^^^^^^^^^^^^^^^^^^
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ sphinxcontrib-phpdomain==0.11.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sphinx-toolbox==3.4.0
sphinx-reredirects==0.1.2
urllib3==2.0.4
zipp==3.16.2

0 comments on commit d9e6284

Please sign in to comment.