
    Vh                     N   d dl Z d dlZd dlZ	 d dlZe j                  j                  d      dk(  Z	 ej                           ej                  dd      d	ej                  d
dfd       Zedk(  r ej                          yy# e$ r  ed        ej                  d       Y w xY w)    NzHYou need to install antsibull-nox in the same Python environment as nox.   CItruezupdate-docsT)namedefaultsessionreturnc                     | j                  d       t        j                  j                  | d      }|syddg}t        r|j                  d        | j                  |  y)z>
    Update/check auto-generated parts of docs fragments.
    zansible-coreT)install_in_site_packagesNpythonztests/update-docs.pyz--lint)installantsibull_noxsessionsprepare_collectionsIN_CIappendrun)r   preparedatas      ^/home/dcms/DCMS/lib/python3.12/site-packages/ansible_collections/community/routeros/noxfile.pyupdate_docs_fragmentsr   !   s`    
 OON#$$88$ 9 G ,-DHGKK    __main__)ossysnoxr   ImportErrorprintexitenvirongetr   load_antsibull_nox_tomlr   Sessionr   __name__main r   r   <module>r'      s    
 
 

 	

t& & % % ' -.3;; 4  /$ zCHHJ =  	
TUCHHQKs   B B$#B$