Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
9ad3cf5b
Commit
9ad3cf5b
authored
Apr 09, 2016
by
Frédéric Buclin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1204957 - Locally compiled POD documentation is no longer accessible from docs/en/html/api/
r=dkl
parent
652ee918
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
12 deletions
+25
-12
index.rst
docs/en/rst/api/index.rst
+2
-1
conf.py
docs/en/rst/conf.py
+10
-1
apis.rst
docs/en/rst/integrating/apis.rst
+9
-4
makedocs.pl
docs/makedocs.pl
+4
-6
No files found.
docs/en/rst/api/index.rst
View file @
9ad3cf5b
...
...
@@ -4,7 +4,8 @@ WebService API Reference
========================
This Bugzilla installation has the following WebService APIs available
(as of the last time you compiled the documentation):
(as of the last time you compiled the documentation). Documentation for
the deprecated :ref:`XML-RPC and JSON-RPC APIs <api-list>` is also available.
.. toctree::
:glob:
...
...
docs/en/rst/conf.py
View file @
9ad3cf5b
...
...
@@ -383,4 +383,13 @@ pdf_fit_background_mode = 'scale'
# Temporary highlighting of TODO items
todo_include_todos
=
False
extlinks
=
{
'bug'
:
(
'https://bugzilla.mozilla.org/show_bug.cgi?id=
%
s'
,
'bug '
)}
# The readthedocs.org website cannot access POD.
on_rtd
=
os
.
environ
.
get
(
'READTHEDOCS'
,
None
)
==
'True'
if
on_rtd
:
base_api_url
=
'https://www.bugzilla.org/docs/tip/en/html/api/'
else
:
base_api_url
=
'../integrating/api/'
extlinks
=
{
'bug'
:
(
'https://bugzilla.mozilla.org/show_bug.cgi?id=
%
s'
,
'bug '
),
'api'
:
(
base_api_url
+
'
%
s'
,
''
)}
docs/en/rst/integrating/apis.rst
View file @
9ad3cf5b
...
...
@@ -12,6 +12,13 @@ coming soon.
The APIs currently available are as follows:
Core Module API
===============
Most of the core Bugzilla modules have extensive documentation inside the modules
themselves. You can view the :api:`POD documentation <index.html>` to help with
using the core modules in your extensions.
Ad-Hoc APIs
===========
...
...
@@ -23,8 +30,7 @@ to alternate data formats where they are available.
XML-RPC
=======
Bugzilla has an `XML-RPC API
<http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Server/XMLRPC.html>`_.
Bugzilla has an :api:`XML-RPC API <Bugzilla/WebService/Server/XMLRPC.html>`.
This will receive no further updates and will be removed in a future version
of Bugzilla.
...
...
@@ -33,8 +39,7 @@ Endpoint: :file:`/xmlrpc.cgi`
JSON-RPC
========
Bugzilla has a `JSON-RPC API
<http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Server/JSONRPC.html>`_.
Bugzilla has a :api:`JSON-RPC API <Bugzilla/WebService/Server/JSONRPC.html>`.
This will receive no further updates and will be removed in a future version
of Bugzilla.
...
...
docs/makedocs.pl
View file @
9ad3cf5b
...
...
@@ -35,7 +35,7 @@ use lib qw(.. ../lib lib);
use
Cwd
;
use
File::Copy::
Recursive
qw(rcopy)
;
use
File::
Find
;
use
File::
Path
qw(rmtree)
;
use
File::
Path
qw(rmtree
make_path
)
;
use
File::
Which
qw(which)
;
use
Pod::
Simple
;
...
...
@@ -52,7 +52,6 @@ sub MakeDocs {
my
(
$name
,
$cmdline
)
=
@_
;
say
"Creating $name documentation ..."
if
defined
$name
;
say
"make $cmdline\n"
;
system
(
'make'
,
$cmdline
)
==
0
or
$error_found
=
1
;
print
"\n"
;
...
...
@@ -83,12 +82,11 @@ END_HTML
$converter
->
contents_page_start
(
$contents_start
);
$converter
->
contents_page_end
(
"</body></html>"
);
$converter
->
add_css
(
'./../../../style.css'
);
$converter
->
add_css
(
'./../../../
../
style.css'
);
$converter
->
javascript_flurry
(
0
);
$converter
->
css_flurry
(
0
);
mkdir
(
"html"
);
mkdir
(
"html/api"
);
$converter
->
batch_convert
([
'../../'
],
'html/api/'
);
make_path
(
'html/integrating/api'
);
$converter
->
batch_convert
([
'../../'
],
'html/integrating/api'
);
print
"\n"
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment