⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 references.py

📁 Requirement =====================================================================================
💻 PY
字号:
# Author: David Goodger, Dmitry Jemerov# Contact: goodger@users.sourceforge.net# Revision: $Revision: 4156 $# Date: $Date: 2005-12-08 05:43:13 +0100 (Thu, 08 Dec 2005) $# Copyright: This module has been placed in the public domain."""Directives for references and targets."""__docformat__ = 'reStructuredText'from docutils import nodesfrom docutils.transforms import referencesfrom docutils.parsers.rst import directivesdef target_notes(name, arguments, options, content, lineno,                 content_offset, block_text, state, state_machine):    """Target footnote generation."""    pending = nodes.pending(references.TargetNotes)    pending.details.update(options)    state_machine.document.note_pending(pending)    nodelist = [pending]    return nodelisttarget_notes.options = {'class': directives.class_option}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -