old_contents: from .api import *
  
new_contents: r"""
  
  ===================================================================
  flux - Reactive flux an transition pathways (:mod:`emma2.msm.flux`)
  ===================================================================
  
  .. currentmodule:: emma2.msm.flux
  
  This module contains functions to compute reactive flux networks and
  find dominant reaction pathways in such networks.
  
  TPT-object
  ==========
  
  .. autosummary::
     :toctree: generated/
  
     tpt - ReactiveFlux object
  
  Reactive flux
  =============
  
  .. autosummary::
     :toctree: generated/
  
     flux_matrix - TPT flux network
     to_netflux - Netflux from gross flux
     flux_production - Net flux-production for all states
     flux_producers
     flux_consumers
     coarsegrain
  
  Reaction rates and fluxes
  =========================
  
  .. autosummary::
     :toctree: generated/
  
     total_flux
     rate
     mfpt
     
  
  Pathway decomposition
  =====================
  
  .. autosummary::
     :toctree: generated/
  
     pathways
  
  """
  
  from .api import *
  
subject: Include flux package in doc