
extensions = []
templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
project = u'Firebase Admin SDK for PHP'
author = u'Jérôme Gamez'
copyright = u'Jérôme Gamez'
version = u'4.x'
html_title = u'Firebase Admin SDK for PHP Documentation'
html_short_title = u'Firebase Admin SDK for PHP'

exclude_patterns = ['_build']
html_static_path = ['_static']

suppress_warnings = ['image.nonlocal_uri']

### Theme settings
import sphinx_rtd_theme

html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

### Syntax Highlighting
from sphinx.highlighting import lexers
from pygments.lexers.web import PhpLexer

lexers['php'] = PhpLexer(startinline=True, linenos=1)
lexers['php-annotations'] = PhpLexer(startinline=True, linenos=1)

### Integrations

html_context = {
  "display_github": True,
  "github_user": "kreait",
  "github_repo": "firebase-php",
  "github_version": "master",
  "conf_py_path": "/docs/",
  "source_suffix": ".rst",
}


extensions = []
templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
project = u'Firebase Admin SDK for PHP'
author = u'Jérôme Gamez'
copyright = u'Jérôme Gamez'
version = u'4.x'
html_title = u'Firebase Admin SDK for PHP Documentation'
html_short_title = u'Firebase Admin SDK for PHP'

exclude_patterns = ['_build']
html_static_path = ['_static']

suppress_warnings = ['image.nonlocal_uri']

### Theme settings
import sphinx_rtd_theme

html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme_options = {
    'canonical_url': 'https://firebase-php.readthedocs.io',
    'analytics_id': 'UA-82654714-3'
}

### Syntax Highlighting
from sphinx.highlighting import lexers
from pygments.lexers.web import PhpLexer

lexers['php'] = PhpLexer(startinline=True, linenos=1)
lexers['php-annotations'] = PhpLexer(startinline=True, linenos=1)

### Integrations

html_context = {
  "display_github": True,
  "github_user": "kreait",
  "github_repo": "firebase-php",
  "github_version": "",
  "conf_py_path": "/docs/",
  "source_suffix": ".rst",
}

Fix "Edit on GitHub" links
Fix "Edit on GitHub" links

Using "master" seems to mess it up, see
https://github.com/readthedocs/readthedocs.org/issues/5518

  
  extensions = []
  templates_path = ['_templates']
  source_suffix = '.rst'
  master_doc = 'index'
  project = u'Firebase Admin SDK for PHP'
  author = u'Jérôme Gamez'
  copyright = u'Jérôme Gamez'
  version = u'4.x'
  html_title = u'Firebase Admin SDK for PHP Documentation'
  html_short_title = u'Firebase Admin SDK for PHP'
  
  exclude_patterns = ['_build']
  html_static_path = ['_static']
  
  suppress_warnings = ['image.nonlocal_uri']
  
  ### Theme settings
  import sphinx_rtd_theme
  
  html_theme = 'sphinx_rtd_theme'
  html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
+ html_theme_options = {
+     'canonical_url': 'https://firebase-php.readthedocs.io',
+     'analytics_id': 'UA-82654714-3'
+ }
  
  ### Syntax Highlighting
  from sphinx.highlighting import lexers
  from pygments.lexers.web import PhpLexer
  
  lexers['php'] = PhpLexer(startinline=True, linenos=1)
  lexers['php-annotations'] = PhpLexer(startinline=True, linenos=1)
  
  ### Integrations
  
  html_context = {
    "display_github": True,
    "github_user": "kreait",
    "github_repo": "firebase-php",
-   "github_version": "master",
+   "github_version": "",
    "conf_py_path": "/docs/",
    "source_suffix": ".rst",
  }
  
Fix "Edit on GitHub" links
## Code Before:

extensions = []
templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
project = u'Firebase Admin SDK for PHP'
author = u'Jérôme Gamez'
copyright = u'Jérôme Gamez'
version = u'4.x'
html_title = u'Firebase Admin SDK for PHP Documentation'
html_short_title = u'Firebase Admin SDK for PHP'

exclude_patterns = ['_build']
html_static_path = ['_static']

suppress_warnings = ['image.nonlocal_uri']

### Theme settings
import sphinx_rtd_theme

html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

### Syntax Highlighting
from sphinx.highlighting import lexers
from pygments.lexers.web import PhpLexer

lexers['php'] = PhpLexer(startinline=True, linenos=1)
lexers['php-annotations'] = PhpLexer(startinline=True, linenos=1)

### Integrations

html_context = {
  "display_github": True,
  "github_user": "kreait",
  "github_repo": "firebase-php",
  "github_version": "master",
  "conf_py_path": "/docs/",
  "source_suffix": ".rst",
}

## Instruction:
Fix "Edit on GitHub" links
## Code After:

extensions = []
templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'
project = u'Firebase Admin SDK for PHP'
author = u'Jérôme Gamez'
copyright = u'Jérôme Gamez'
version = u'4.x'
html_title = u'Firebase Admin SDK for PHP Documentation'
html_short_title = u'Firebase Admin SDK for PHP'

exclude_patterns = ['_build']
html_static_path = ['_static']

suppress_warnings = ['image.nonlocal_uri']

### Theme settings
import sphinx_rtd_theme

html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme_options = {
    'canonical_url': 'https://firebase-php.readthedocs.io',
    'analytics_id': 'UA-82654714-3'
}

### Syntax Highlighting
from sphinx.highlighting import lexers
from pygments.lexers.web import PhpLexer

lexers['php'] = PhpLexer(startinline=True, linenos=1)
lexers['php-annotations'] = PhpLexer(startinline=True, linenos=1)

### Integrations

html_context = {
  "display_github": True,
  "github_user": "kreait",
  "github_repo": "firebase-php",
  "github_version": "",
  "conf_py_path": "/docs/",
  "source_suffix": ".rst",
}
