﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3A2.5%2FPy%2FAPI%2FGenerating_API_Reference</id>
	<title>Dev:2.5/Py/API/Generating API Reference - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3A2.5%2FPy%2FAPI%2FGenerating_API_Reference"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:2.5/Py/API/Generating_API_Reference&amp;action=history"/>
	<updated>2026-06-08T13:06:40Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:2.5/Py/API/Generating_API_Reference&amp;diff=92133&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:2.5/Py/API/Generating_API_Reference&amp;diff=92133&amp;oldid=prev"/>
		<updated>2018-06-28T18:44:40Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 18:44時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:2.5/Py/API/Generating_API_Reference&amp;diff=92132&amp;oldid=prev</id>
		<title>2014年6月16日 (月) 16:47にwiki&gt;Ideasman42による</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:2.5/Py/API/Generating_API_Reference&amp;diff=92132&amp;oldid=prev"/>
		<updated>2014-06-16T16:47:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= API Documentation =&lt;br /&gt;
For the API documentation, you can use the python module Sphinx to generate an up-to-date Python API local web site. With [http://www.mail-archive.com/bf-blender-cvs@blender.org/msg11190.html commit 25551], Campbell changed from epydocs to Sphinx as a means to generated API documentation. &lt;br /&gt;
==Installing the Documentation Generator Sphinx==&lt;br /&gt;
First, though, you need install:&lt;br /&gt;
#Blender 2.7&lt;br /&gt;
#Then get the [http://pypi.python.org/pypi/setuptools Python Setup Tools.]. Installing that gives you an [http://peak.telecommunity.com/DevCenter/EasyInstall#installing-easy-install easy_install] executable in your Python/scripts folder.&lt;br /&gt;
#Download and install Sphinx; run &lt;br /&gt;
* easy_install -U Sphinx&lt;br /&gt;
Note that easy_install may not be on your path, so you may have to fully qualify its location. This will go to PyPi on the internet, download and install the package.&lt;br /&gt;
&lt;br /&gt;
==Running Sphinx==&lt;br /&gt;
&lt;br /&gt;
Sphinx processes a set of input files and can output to multiple formats. To prepare this set of input files, from your GIT Blender source directory, every time you update from git, run.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;blender --background --python ./doc/python_api/sphinx_doc_gen.py&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This command will create a folder `doc/python_api/sphinx-in`. This folder contains a bunch of up-to-date rst files. Then, to make the documentation, from that same directory run:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;sphinx-build doc/python_api/sphinx-in doc/python_api/sphinx-out&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that &amp;lt;tt&amp;gt;sphinx-build&amp;lt;/tt&amp;gt; may not be on your system PATH, so you may have to give the full path, eg: &amp;quot;c:\program files\blender foundation\python\scripts\sphinx-build&amp;quot;. Worst case, use my little batch file and run the script via&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;dos&amp;quot;&amp;gt;&lt;br /&gt;
&amp;quot;c:\program files\blender foundation\250\blender&amp;quot; --background --python ./doc/python_api/sphinx_doc_gen.py &lt;br /&gt;
&amp;quot;c:\program files\blender foundation\python\scripts\sphinx-build-script.py&amp;quot; ./doc/python_api/sphinx-in .doc/python_api/sphinx-out&lt;br /&gt;
cd ./source/blender/python/doc/sphinx-out&lt;br /&gt;
echo opening Blender-Python API contents page. Find (ctrl-F) is your friend&lt;br /&gt;
contents.html&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that I have my 2.7 in a subdirectory under the foundation, and my python is installed to run .py files, and firefox opens .html files.&lt;br /&gt;
&lt;br /&gt;
== Reading the docs ==&lt;br /&gt;
So now, if the python magic spell has worked, in your sphinx-out folder, you have a bunch of html files. Scroll to the bottom and open the contents.html file to get the main index. If the docs look like &amp;quot;real&amp;quot; python docs, that's because of sphinx. The Contents page lists all of the base classes and their implementations. For a kind of top-down view, start with Main. Have fun!&lt;br /&gt;
&lt;br /&gt;
[[Category:Script]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Ideasman42</name></author>
		
	</entry>
</feed>